uros-db commented on code in PR #47825:
URL: https://github.com/apache/spark/pull/47825#discussion_r1724996870
##########
sql/core/src/test/scala/org/apache/spark/sql/CollationSQLExpressionsSuite.scala:
##########
@@ -996,6 +996,30 @@ class CollationSQLExpressionsSuite
assert(sql(query).schema.fields.head.dataType.sameType(dataType))
}
})
+
+ val tableName = "t_diff_collation"
+ withTable(tableName) {
+ sql(s"CREATE TABLE $tableName (" +
+ s"text STRING COLLATE UTF8_BINARY, " +
+ s"pairDelim STRING COLLATE UTF8_LCASE, " +
+ s"keyValueDelim STRING COLLATE UTF8_BINARY) " +
+ s"USING parquet")
Review Comment:
also, there is an ongoing effort to move such tests to `collations.sql`
golden file
please see: https://github.com/apache/spark/pull/47828 and
https://issues.apache.org/jira/browse/SPARK-48779
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]