Skip to content

Commit 5f0e936

Browse files
ChaconneLuoChaconneLuo
andauthored
fix: spark sql union recursion (#466)
Co-authored-by: ChaconneLuo <panglifan@meituan.com>
1 parent c132d73 commit 5f0e936

3 files changed

Lines changed: 2492 additions & 2531 deletions

File tree

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)