Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/20999#discussion_r179934268 --- 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 -- It has to be in this format? `partCol1 > 2` How about `2 > partCol1`?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org