Fix explain(locus) issues. - #433
Merged
Merged
Conversation
Fix typo and locus null as below.
explain (costs off, locus)
select * from dedup_reptab r where r.a in (select t.a/10 from dedup_tab
t);
QUERY PLAN
------------------------------------------------------------------------
Gather Motion 3:1 (slice1; segments: 3)
Locus: Entry
-> Result
Locus: Strewn
-> Unique
Locus: NULL
Group Key: (RowIdExpr)
-> Sort
Locus: NULL
Sort Key (Distinct): (RowIdExpr)
-> Redistribute Motion 3:3 (slice2; segments: 3)
Locus: Hashed
Hash Key: (RowIdExpr)
-> Hash Join
Locus: Hashed
Hash Cond: ((t.a / 10) = r.a)
-> Seq Scan on dedup_tab t
Locus: Hashed
-> Hash
Locus: Replicated
-> Broadcast Motion 1:3
(slice3; segments: 1)
Locus: Replicated
-> Seq Scan on
dedup_reptab r
Locus: SingleQE
Authored-by: Zhang Mingli avamingli@gmail.com
avamingli
force-pushed
the
fix_explain_locus
branch
from
May 14, 2024 02:55
10bca62 to
bd518d8
Compare
my-ship-it
approved these changes
May 16, 2024
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.
Fix typo and locus null as below.
Authored-by: Zhang Mingli avamingli@gmail.com
fix #ISSUE_Number
Change logs
Describe your change clearly, including what problem is being solved or what feature is being added.
If it has some breaking backward or forward compatibility, please clary.
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:
make installcheckmake -C src/test installcheck-cbdb-parallelcloudberrydb/devteam for review and approval when your PR is ready🥳