Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/grammar/spark/SparkSqlParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ clusterOrDistributeBy

queryTerm
: queryPrimary
| left=queryTerm operator=(KW_INTERSECT | KW_UNION | KW_EXCEPT | KW_MINUS) setQuantifier? right=queryTerm
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此条规则在spark最新稳定版本中,是依据SQL标准做的优先级区分,此移除规则在spark中是默认关闭的

| left=queryTerm operator=KW_INTERSECT setQuantifier? right=queryTerm
| left=queryTerm operator=(KW_UNION | KW_EXCEPT | KW_MINUS) setQuantifier? right=queryTerm
;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/spark/SparkSqlParser.interp

Large diffs are not rendered by default.

Loading