You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/09/02 13:42:33 UTC

[GitHub] [spark] cloud-fan commented on a change in pull request #29627: [SPARK-32752][SQL]Fix parsing aliasing typed interval literal issue

cloud-fan commented on a change in pull request #29627:
URL: https://github.com/apache/spark/pull/29627#discussion_r482078271



##########
File path: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -818,6 +818,7 @@ primaryExpression
 
 constant
     : NULL                                                                                     #nullLiteral
+    | INTERVAL STRING AS? identifier?                                                          #maybeAliasedIntervalLiteral

Review comment:
       can you explain how the bug triggers?




----------------------------------------------------------------
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:
users@infra.apache.org



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