spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatorsmile <...@git.apache.org>
Subject [GitHub] spark pull request #20133: [SPARK-22934] [SQL] Make optional clauses order i...
Date Tue, 02 Jan 2018 02:55:20 GMT
Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20133#discussion_r159170627
  
    --- 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 --
    
    The same here.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message