Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/20133#discussion_r159168804
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala
---
@@ -875,12 +875,13 @@ class HiveDDLSuite
test("desc table for Hive table - bucketed + sorted table") {
withTable("tbl") {
- sql(s"""
- CREATE TABLE tbl (id int, name string)
- PARTITIONED BY (ds string)
- CLUSTERED BY(id)
- SORTED BY(id, name) INTO 1024 BUCKETS
- """)
+ sql(
+ s"""
+ |CREATE TABLE tbl (id int, name string)
+ |CLUSTERED BY(id)
+ |SORTED BY(id, name) INTO 1024 BUCKETS
+ |PARTITIONED BY (ds string)
+ """.stripMargin)
--- End diff --
Can we keep the original `HiveDDLSuite.scala` file, too?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]