MaxGekk commented on code in PR #49147:
URL: https://github.com/apache/spark/pull/49147#discussion_r1882685998
##########
sql/core/src/test/scala/org/apache/spark/sql/collation/CollationTypePrecedenceSuite.scala:
##########
@@ -175,6 +175,115 @@ class CollationTypePrecedenceSuite extends QueryTest with
SharedSparkSession {
)
}
+ test("in subquery expression") {
+ val tableName = "subquery_tbl"
+ withTable(tableName) {
+ sql(
+ s"""
+ |CREATE TABLE $tableName (
+ | c1 STRING COLLATE UTF8_LCASE,
+ | c2 STRING COLLATE UNICODE
+ |) USING $dataSource
+ |""".stripMargin)
Review Comment:
indentation should be 2 spaces not 3. Please, fix here and below:
```suggestion
|CREATE TABLE $tableName (
| c1 STRING COLLATE UTF8_LCASE,
| c2 STRING COLLATE UNICODE
|) USING $dataSource
|""".stripMargin)
```
--
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]