Skip to content
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

chore: Make query stage / shuffle code easier to understand #54

Merged
merged 7 commits into from
Dec 19, 2024

Conversation

andygrove
Copy link
Member

No description provided.

@andygrove andygrove changed the title wip: Code cleanup chore: Make query stage / shuffle code easier to understand Dec 14, 2024
@andygrove andygrove marked this pull request as ready for review December 14, 2024 19:05
@@ -42,7 +42,7 @@ ShuffleWriterExec(stage_id=1, output_partitioning=Hash([Column { name: "l_return
CoalesceBatchesExec: target_batch_size=8192
ShuffleReaderExec(stage_id=0, input_partitioning=Hash([Column { name: "l_returnflag", index: 0 }, Column { name: "l_linestatus", index: 1 }], 2))

Query Stage #2 (2 -> 1):
Query Stage #2 (1 -> 1):
Copy link
Member Author

Choose a reason for hiding this comment

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

SortPreservingMergeExec always produces a single partition, so it is correct that this query stage reports that it is going from 1 partition to 1 partition.

@andygrove andygrove merged commit 2783613 into apache:main Dec 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants