yaooqinn commented on a change in pull request #26359: [SPARK-29713][SQL] 
Support Interval Unit Abbreviations in Interval Literals
URL: https://github.com/apache/spark/pull/26359#discussion_r344444068
 
 

 ##########
 File path: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
 ##########
 @@ -1459,7 +1459,7 @@ DATA: 'DATA';
 DATABASE: 'DATABASE';
 DATABASES: 'DATABASES' | 'SCHEMAS';
 DAY: 'DAY';
-DAYS: 'DAYS';
+DAYS: 'DAYS'| 'D';
 
 Review comment:
   proposed a new approach to parse intervals in the form of abbreviations, 
without adding new keywords to parser, please take a look, thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to