cloud-fan commented on code in PR #48724:
URL: https://github.com/apache/spark/pull/48724#discussion_r1836052076
##########
sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4:
##########
@@ -643,7 +643,7 @@ sortItem
;
fromStatement
- : fromClause fromStatementBody+
+ : fromClause (fromStatementBody)*
Review Comment:
I need a bit more context to understand this change. The classic SQL does
not require additional clauses after FROM, e.g. `... FROM t` is valid. Is this
parser rule only used by pipe syntax?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]