[CALCITE-3632] Add IntersectToIntersectUnify Rule in SubstitutionVisitor#1692
Closed
xy2953396112 wants to merge 2 commits intoapache:masterfrom
Closed
[CALCITE-3632] Add IntersectToIntersectUnify Rule in SubstitutionVisitor#1692xy2953396112 wants to merge 2 commits intoapache:masterfrom
xy2953396112 wants to merge 2 commits intoapache:masterfrom
Conversation
47c8d49 to
b72e010
Compare
jinxing64
requested changes
Dec 26, 2019
| @Test public void testIntersectToIntersect0() { | ||
| final String mv = "" | ||
| + "select \"deptno\" from\n" | ||
| + "\"emps\" intersect select \"deptno\" from \"depts\""; |
| checkMaterialize(mv, query, true); | ||
| } | ||
|
|
||
| @Test public void testIntersectToIntersect1() { |
Contributor
There was a problem hiding this comment.
How about format like below:
select deptno from emps
intersect
select deptno from depts;
Contributor
Author
There was a problem hiding this comment.
thanks, update code.
Contributor
|
Just minor comments ~ |
wangxlong
pushed a commit
to wangxlong/calcite
that referenced
this pull request
Feb 13, 2020
…tor (xy2953396112) Close apache#1692
jamesstarr
pushed a commit
to jamesstarr/calcite
that referenced
this pull request
Aug 28, 2025
apache#45) …tor (xy2953396112) Close apache#1692 Co-authored-by: dz <953396112@qq.com>
jamesstarr
pushed a commit
to jamesstarr/calcite
that referenced
this pull request
Mar 16, 2026
apache#45) …tor (xy2953396112) Close apache#1692 Co-authored-by: dz <953396112@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA:https://issues.apache.org/jira/browse/CALCITE-3632