-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hashjoin indexing #1728
Merged
Merged
hashjoin indexing #1728
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
eee289b
some tests
max-hoffman ee224a5
add changes
max-hoffman 521bb1a
very close
f93f3d4
remove debugging code
dfbd936
another
5b8915c
aaaaaaaaaaaa
87b5a9d
it's there because I told it to print it
88b1d10
[ga-format-pr] Run ./format_repo.sh to fix formatting
jcor11599 e2ef855
adding plan test
da0ceb4
tests
61c8b43
Merge branch 'james/cte3' of https://github.com/dolthub/go-mysql-serv…
410b82e
skip test
b2e52c8
aaaaaaaaaaaaa
59d1484
[ga-format-pr] Run ./format_repo.sh to fix formatting
jcor11599 98aa934
moved to keyless test
d261dd8
make script test
118dcae
remove old code
783fc06
asdf
c778cf3
[ga-format-pr] Run ./format_repo.sh to fix formatting
jcor11599 db7fcd0
asdf
0d34d51
skip prepared
8a4eebe
[ga-format-pr] Run ./format_repo.sh to fix formatting
jcor11599 1e039b4
adding broken query
6a981ed
fixing expected result
3917790
[ga-format-pr] Run ./format_repo.sh to fix formatting
jcor11599 9821fe3
work this time
b801fd7
simplified
51c5d0a
copy scope
b8b7e57
no need to check for isleftouter
117063b
comments and more tests
b85582c
copy method
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,7 +180,12 @@ func (b *ExecBuilder) buildHashJoin(j *hashJoin, input sql.Schema, children ...s | |
if err != nil { | ||
return nil, err | ||
} | ||
outerAttrs, err := b.buildFilters(j.g.m.scope, j.right.relProps.OutputCols(), expression.Tuple(j.outerAttrs)) | ||
tmpScope := j.g.m.scope | ||
if tmpScope != nil { | ||
tmpScope = tmpScope.newScopeInJoin(nil) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could we have slightly more expressive methods? like |
||
tmpScope.joinSiblings = []sql.Node{} | ||
} | ||
outerAttrs, err := b.buildFilters(tmpScope, j.right.relProps.OutputCols(), expression.Tuple(j.outerAttrs)) | ||
if err != nil { | ||
return nil, err | ||
} | ||
|
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a comment tagging the original issue might be worthwhile