File tree Expand file tree Collapse file tree 4 files changed +0
-36
lines changed Expand file tree Collapse file tree 4 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -140,9 +140,6 @@ impl Repartition {
140
140
///
141
141
/// 2. Has a direct parent that `benefits_from_input_partitioning`
142
142
///
143
- /// 3. Does not have a parent that `relies_on_input_order` unless there
144
- /// is an intervening node that does not `maintain_input_order`
145
- ///
146
143
/// if `can_reorder` is false, means that the output of this node
147
144
/// can not be reordered as as the final output is relying on that order
148
145
///
Original file line number Diff line number Diff line change @@ -105,10 +105,6 @@ impl ExecutionPlan for GlobalLimitExec {
105
105
Partitioning :: UnknownPartitioning ( 1 )
106
106
}
107
107
108
- fn relies_on_input_order ( & self ) -> bool {
109
- self . input . output_ordering ( ) . is_some ( )
110
- }
111
-
112
108
fn maintains_input_order ( & self ) -> bool {
113
109
true
114
110
}
@@ -274,10 +270,6 @@ impl ExecutionPlan for LocalLimitExec {
274
270
self . input . output_partitioning ( )
275
271
}
276
272
277
- fn relies_on_input_order ( & self ) -> bool {
278
- self . input . output_ordering ( ) . is_some ( )
279
- }
280
-
281
273
fn benefits_from_input_partitioning ( & self ) -> bool {
282
274
false
283
275
}
Original file line number Diff line number Diff line change @@ -141,27 +141,6 @@ pub trait ExecutionPlan: Debug + Send + Sync {
141
141
vec ! [ None ; self . children( ) . len( ) ]
142
142
}
143
143
144
- /// Returns `true` if this operator relies on its inputs being
145
- /// produced in a certain order (for example that they are sorted
146
- /// a particular way) for correctness.
147
- ///
148
- /// If `true` is returned, DataFusion will not apply certain
149
- /// optimizations which might reorder the inputs (such as
150
- /// repartitioning to increase concurrency).
151
- ///
152
- /// The default implementation checks the input ordering requirements
153
- /// and if there is non empty ordering requirements to the input, the method will
154
- /// return `true`.
155
- ///
156
- /// WARNING: if you override this default and return `false`, your
157
- /// operator can not rely on DataFusion preserving the input order
158
- /// as it will likely not.
159
- fn relies_on_input_order ( & self ) -> bool {
160
- self . required_input_ordering ( )
161
- . iter ( )
162
- . any ( |ordering| matches ! ( ordering, Some ( _) ) )
163
- }
164
-
165
144
/// Returns `false` if this operator's implementation may reorder
166
145
/// rows within or between partitions.
167
146
///
Original file line number Diff line number Diff line change @@ -239,10 +239,6 @@ impl ExecutionPlan for ProxyExecutionPlan {
239
239
self . inner . required_input_distribution ( )
240
240
}
241
241
242
- fn relies_on_input_order ( & self ) -> bool {
243
- self . inner . relies_on_input_order ( )
244
- }
245
-
246
242
fn maintains_input_order ( & self ) -> bool {
247
243
self . inner . maintains_input_order ( )
248
244
}
You can’t perform that action at this time.
0 commit comments