Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15704#discussion_r86385537
  
    --- Diff: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 ---
    @@ -243,7 +243,7 @@ partitionSpec
         ;
     
     partitionVal
    -    : identifier (EQ constant)?
    +    : identifier (comparisonOperator constant)?
    --- End diff --
    
    You mean that we change this as an expression and validate differently case 
by case.
    
    For example,
    - `ADD PARTITION` should validate `column=value`.
    - `DROP PARTITION` should validate `column comparisonOperator constant` 
except NSEQ.
    
    Did I understand correctly?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to