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 2019/03/11 16:03:45 UTC
[GitHub] [spark] cloud-fan commented on a change in pull request #23880:
[SPARK-26976][SQL] Forbid reserved keywords as table identifiers when ANSI
mode is on
cloud-fan commented on a change in pull request #23880: [SPARK-26976][SQL] Forbid reserved keywords as table identifiers when ANSI mode is on
URL: https://github.com/apache/spark/pull/23880#discussion_r264305847
##########
File path: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -736,7 +741,6 @@ qualifiedName
identifier
: strictIdentifier
- | {ansi}? ansiReserved
Review comment:
or, we can find some more examples to advocate it. AFAIK presto supports `select current_date()` although it's not SQL standard. Do you know of any other systems that support it?
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org