-
Notifications
You must be signed in to change notification settings - Fork 123
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
[CBRD-23749] Support HASH LIST SCAN for Hierarchical Queries #2520
Merged
Conversation
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
…execute_connect_by(). so fix to remove pred at list_scan.
hgryoo
reviewed
Dec 16, 2020
hgryoo
reviewed
Dec 16, 2020
hgryoo
reviewed
Dec 16, 2020
hgryoo
reviewed
Dec 16, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
reviewed
Dec 17, 2020
beyondykk9
approved these changes
Dec 17, 2020
hgryoo
reviewed
Dec 18, 2020
hgryoo
reviewed
Dec 18, 2020
hgryoo
approved these changes
Dec 21, 2020
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.
http://jira.cubrid.org/browse/CBRD-23749
OPTIMIZER
There are no modifications in the OPTIMIZER.
Checking whether the predicate of the CONNECT BY clause is hashable is performed in XASL generation. The mergeable term used in the HASH LIST SCAN is for join term, and a different checklist is required in hierarchical query. I implemented the checklist in XASL generation.
XASL generator
Add access spec of list scan for HQ having join. (pt_make_connect_by_proc() )
data filter predicates is not involved in list scan. instead of data filter, if_pred will be evaluated at EXECUTION step.
Check whether the predicate of the CONNECT BY clause is hashable. (pt_split_hash_attrs_for_HQ() )
HASH LIST SCAN for HQ is possible under the following conditions.
Split predicates into build attributes and probe attributes.
EXECUTOR
To scan output temp file, call scan_next_scan() instead of qfile_scan_list_next(). (qexec_execute_connect_by() )