maropu commented on a change in pull request #32303:
URL: https://github.com/apache/spark/pull/32303#discussion_r619335548
##########
File path:
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -588,7 +588,7 @@ hintStatement
;
fromClause
- : FROM relation (',' relation)* lateralView* pivotClause?
+ : FROM relation (',' lateralClause)* (',' relation)* lateralView*
pivotClause?
Review comment:
Yea, it seems PosgreSQL accepts simple cases without outer refs.
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]