Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/10660#discussion_r49202296
--- Diff:
sql/catalyst/src/main/antlr3/org/apache/spark/sql/catalyst/parser/SparkSqlParser.g
---
@@ -2216,6 +2216,8 @@ regularBody[boolean topLevel]
selectStatement[boolean topLevel]
:
(
+ (
+ LPAREN
--- End diff --
Because in the following we need to access some of the sub clauses such as
selectClause, clusterByClause, etc., with the syntax seems we can't simply
extract the common part as a single rule.
---
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]