Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanm-db committed Oct 22, 2024
1 parent c7c4d7d commit 01a497f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,8 @@ class CollationSuite extends DatasourceV2SQLBase with AdaptiveSparkPlanHelper {
val tableName = "testcat.alter_column_tbl"
withTable(tableName) {
sql(s"CREATE TABLE $tableName (c1 STRING) USING PARQUET")
sql(s"ALTER TABLE $tableName ALTER COLUMN c1 TYPE STRING COLLATE UTF8_LCASE")
sql(s"INSERT INTO $tableName VALUES ('a')")
sql(s"ALTER TABLE $tableName ALTER COLUMN c1 TYPE STRING COLLATE UTF8_LCASE")
checkAnswer(sql(s"SELECT collation(c1) FROM $tableName"), Seq(Row("UTF8_LCASE")))
}
}
Expand Down

0 comments on commit 01a497f

Please sign in to comment.