We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b170aae commit d3ca16eCopy full SHA for d3ca16e
datafusion/datasource/src/sink.rs
@@ -100,6 +100,11 @@ impl Debug for DataSinkExec {
100
101
impl DataSinkExec {
102
/// Create a plan to write to `sink`
103
+ /// Note: DataSinkExec requires its input to have a single partition.
104
+ /// If the input has multiple partitions, the physical optimizer will
105
+ /// automatically insert a Merge-related operator to merge them.
106
+ /// If you construct PhysicalPlan without going through the physical optimizer,
107
+ /// you must ensure that the input has a single partition.
108
pub fn new(
109
input: Arc<dyn ExecutionPlan>,
110
sink: Arc<dyn DataSink>,
0 commit comments