Skip to content

Commit a98e4d9

Browse files
author
ChaconneLuo
committed
fix: spark sql union recursion
1 parent c132d73 commit a98e4d9

File tree

3 files changed

+2492
-2531
lines changed

3 files changed

+2492
-2531
lines changed

src/grammar/spark/SparkSqlParser.g4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ clusterOrDistributeBy
457457

458458
queryTerm
459459
: queryPrimary
460-
| left=queryTerm operator=(KW_INTERSECT | KW_UNION | KW_EXCEPT | KW_MINUS) setQuantifier? right=queryTerm
461460
| left=queryTerm operator=KW_INTERSECT setQuantifier? right=queryTerm
462461
| left=queryTerm operator=(KW_UNION | KW_EXCEPT | KW_MINUS) setQuantifier? right=queryTerm
463462
;

src/lib/spark/SparkSqlParser.interp

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)