You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by maropu <gi...@git.apache.org> on 2018/09/08 07:37:22 UTC

[GitHub] spark pull request #20999: [SPARK-14922][SPARK-17732][SPARK-23866][SQL] Supp...

Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20999#discussion_r216122503
  
    --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 ---
    @@ -261,6 +261,14 @@ partitionVal
         : identifier (EQ constant)?
         ;
     
    +dropPartitionSpec
    +    : PARTITION '(' dropPartitionVal (',' dropPartitionVal)* ')'
    +    ;
    +
    +dropPartitionVal
    +    : identifier (comparisonOperator constant)?
    --- End diff --
    
    Hive also throws antler errors for the case `2 > partCol1`?


---

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