Commit 51969ab
committed
- Reverts #20337
- Addresses concerns raised in
#22415
- Closes #22415
`ExecutionPlan::apply_expressions()` was added in #20337 with no default
implementation, forcing every custom `ExecutionPlan`, `FileSource`, and
`DataSource` implementor to add the method as part of upgrading to
DataFusion 54.
As discussed on #22415, per @LiaCastaneda and @adriangb the method is
not yet called from anywhere in DataFusion and the originally intended
use (dynamic-filter discovery/serialization for distributed scenarios)
is blocked on other in-progress work (#20009, #21350).
The combined effect on downstream users is a required code change with
no immediate benefit, and ambiguity about what a "correct"
implementation even means today (e.g. is returning
`Ok(TreeNodeRecursion::Continue)` is safe right now but becomes
incorrect as soon as the method starts being used by an optimizer pass?.
The plan agreed in the discussion is to remove the API from the 54.0
release and re-add it together with the concrete consumer that needs it.
cc @adriangb @LiaCastaneda @milenkovicm.
`git revert -m 1` of the merge commit, with the following manual
conflict resolutions and follow-ups:
By CI
Yes -- this removes the new public API:
- `ExecutionPlan::apply_expressions`
- `FileSource::apply_expressions`
- `DataSource::apply_expressions`
These were only added in 54 and are not yet released. Custom
implementors no longer need to implement these methods.
1 parent c8dddb8 commit 51969ab
72 files changed
Lines changed: 22 additions & 1531 deletions
File tree
- datafusion-examples/examples
- custom_data_source
- execution_monitoring
- proto
- relation_planner
- datafusion
- catalog/src/memory
- core
- src
- tests
- custom_sources_cases
- fuzz_cases
- physical_optimizer
- user_defined
- datasource-arrow/src
- datasource-avro/src
- datasource-csv/src
- datasource-json/src
- datasource-parquet/src
- datasource/src
- file_scan_config
- ffi/src
- tests
- physical-optimizer/src
- physical-plan/src
- aggregates
- joins
- hash_join
- piecewise_merge_join
- sort_merge_join
- operator_statistics
- repartition
- sorts
- test
- windows
- docs/source/library-user-guide
- upgrading
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | 277 | | |
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
292 | 291 | | |
293 | 292 | | |
294 | 293 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 294 | | |
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
| |||
205 | 195 | | |
206 | 196 | | |
207 | 197 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 198 | | |
218 | 199 | | |
219 | 200 | | |
| |||
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | 741 | | |
758 | 742 | | |
759 | 743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
627 | 626 | | |
628 | 627 | | |
629 | 628 | | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | 629 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4475 | 4475 | | |
4476 | 4476 | | |
4477 | 4477 | | |
4478 | | - | |
4479 | | - | |
4480 | | - | |
4481 | | - | |
4482 | | - | |
4483 | | - | |
4484 | | - | |
4485 | | - | |
4486 | | - | |
4487 | | - | |
4488 | | - | |
4489 | | - | |
4490 | | - | |
4491 | | - | |
4492 | 4478 | | |
4493 | 4479 | | |
4494 | 4480 | | |
| |||
4628 | 4614 | | |
4629 | 4615 | | |
4630 | 4616 | | |
4631 | | - | |
4632 | | - | |
4633 | | - | |
4634 | | - | |
4635 | | - | |
4636 | | - | |
4637 | 4617 | | |
4638 | 4618 | | |
4639 | 4619 | | |
| |||
4680 | 4660 | | |
4681 | 4661 | | |
4682 | 4662 | | |
4683 | | - | |
4684 | | - | |
4685 | | - | |
4686 | | - | |
4687 | | - | |
4688 | | - | |
4689 | 4663 | | |
4690 | 4664 | | |
4691 | 4665 | | |
| |||
4804 | 4778 | | |
4805 | 4779 | | |
4806 | 4780 | | |
4807 | | - | |
4808 | | - | |
4809 | | - | |
4810 | | - | |
4811 | | - | |
4812 | | - | |
4813 | 4781 | | |
4814 | 4782 | | |
4815 | 4783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | 207 | | |
225 | 208 | | |
226 | 209 | | |
| |||
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 151 | | |
169 | 152 | | |
170 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 183 | | |
201 | 184 | | |
202 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 108 | | |
0 commit comments