-
Notifications
You must be signed in to change notification settings - Fork 14
Distributed planning overhaul #145
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1cb3e65
Refactor ArrowFlightReadExec
gabotechs abaefd9
Refactor do_get.rs
gabotechs 2d48e02
Introduce new NetworkHashShuffleExec and NetworkCoalesceTasksExec
gabotechs d213fb4
Refactor to NetworkShuffleExec and NetworkCoalesceExec
gabotechs 5e14d62
Add docs for the new ExecutionPlan implementations
gabotechs 471c476
Increase max_decoding_message_size
gabotechs a99ff6c
Allow specifying only 1 task for network boundaries, and collapsing i…
gabotechs 12b1196
Merge branch 'main' into gabrielmusat/execution-experiment
gabotechs e1f41df
Bring back graphviz visualization
gabotechs 7c388ea
Fix remaining tests
gabotechs 0d29d17
Rollback hardcoded client decoded size
gabotechs 4c8ac58
Rename ArrowFlightReadExec to NetworkShuffleExec
gabotechs 8ae7c1a
Collapse nested if let Some() = ... blocks in distributed_physical_op…
gabotechs 5db3ce0
Better display of partitions in network shuffle tasks
gabotechs 1cd6329
Add some tests to partition_isolator.rs
gabotechs d232182
Update comments in benchmark arguments
gabotechs 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 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| mod composed_extension_codec; | ||
| mod partitioning; | ||
| #[allow(unused)] | ||
| pub mod ttl_map; | ||
|
|
||
| pub(crate) use composed_extension_codec::ComposedPhysicalExtensionCodec; | ||
| pub(crate) use partitioning::{scale_partitioning, scale_partitioning_props}; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| use datafusion::physical_expr::Partitioning; | ||
| use datafusion::physical_plan::PlanProperties; | ||
|
|
||
| pub fn scale_partitioning_props( | ||
| props: &PlanProperties, | ||
| f: impl FnOnce(usize) -> usize, | ||
| ) -> PlanProperties { | ||
| PlanProperties::new( | ||
| props.eq_properties.clone(), | ||
| scale_partitioning(&props.partitioning, f), | ||
| props.emission_type, | ||
| props.boundedness, | ||
| ) | ||
| } | ||
|
|
||
| pub fn scale_partitioning( | ||
| partitioning: &Partitioning, | ||
| f: impl FnOnce(usize) -> usize, | ||
| ) -> Partitioning { | ||
| match &partitioning { | ||
| Partitioning::RoundRobinBatch(p) => Partitioning::RoundRobinBatch(f(*p)), | ||
| Partitioning::Hash(hash, p) => Partitioning::Hash(hash.clone(), f(*p)), | ||
| Partitioning::UnknownPartitioning(p) => Partitioning::UnknownPartitioning(f(*p)), | ||
| } | ||
| } |
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
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.
Uh oh!
There was an error while loading. Please reload this page.