-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Minor: refine Partitioning documentation #12145
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ use crate::{physical_exprs_equal, EquivalenceProperties, PhysicalExpr}; | |
|
||
/// Output partitioning supported by [`ExecutionPlan`]s. | ||
/// | ||
/// When `executed`, `ExecutionPlan`s produce one or more independent stream of | ||
/// data batches in parallel, referred to as partitions. The streams are Rust | ||
/// Calling [`ExecutionPlan::execute`] produce one or more independent streams of | ||
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. This was a driveby cleanup |
||
/// [`RecordBatch`]es in parallel, referred to as partitions. The streams are Rust | ||
/// `async` [`Stream`]s (a special kind of future). The number of output | ||
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. perhaps we can add the link to the 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. I double checked by building the docs locally And it goes to this link: Is that what you mean by link to 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. exactly, my bad, when I navigated from IDE it showed me the crate name as |
||
/// partitions varies based on the input and the operation performed. | ||
/// | ||
|
@@ -102,6 +102,8 @@ use crate::{physical_exprs_equal, EquivalenceProperties, PhysicalExpr}; | |
/// Plans such as `FilterExec` produce the same number of output streams | ||
/// (partitions) as input streams (partitions). | ||
/// | ||
/// [`RecordBatch`]: arrow::record_batch::RecordBatch | ||
/// [`ExecutionPlan::execute`]: https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html#tymethod.execute | ||
/// [`ExecutionPlan`]: https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html | ||
/// [`Stream`]: https://docs.rs/futures/latest/futures/stream/trait.Stream.html | ||
#[derive(Debug, Clone)] | ||
|
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.
the main reason for this PR is to add this link