Commit dac2557
committed
Update deprecated FilterExec method usages to FilterExecBuilder
Per reviewer feedback, updated all internal uses of deprecated with_projection()
and with_batch_size() methods to use FilterExecBuilder instead:
- datafusion/core/src/physical_planner.rs: Use FilterExecBuilder for filter creation
- datafusion/proto/src/physical_plan/mod.rs: Use FilterExecBuilder in proto deserialization
- datafusion/physical-plan/src/filter.rs: Updated test to use builder pattern
Also restored with_default_selectivity() to non-deprecated status since it
simply updates a field value without the overhead of rebuilding FilterExec.
All tests passing, no clippy warnings.1 parent a601075 commit dac2557
File tree
3 files changed
+17
-12
lines changed- datafusion
- core/src
- physical-plan/src
- proto/src/physical_plan
3 files changed
+17
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
938 | 938 | | |
939 | 939 | | |
940 | 940 | | |
941 | | - | |
942 | | - | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
943 | 944 | | |
944 | 945 | | |
945 | 946 | | |
| |||
949 | 950 | | |
950 | 951 | | |
951 | 952 | | |
952 | | - | |
| 953 | + | |
953 | 954 | | |
954 | 955 | | |
955 | | - | |
| 956 | + | |
956 | 957 | | |
957 | 958 | | |
958 | 959 | | |
959 | 960 | | |
960 | | - | |
961 | | - | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
962 | 964 | | |
963 | 965 | | |
964 | 966 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1803 | 1803 | | |
1804 | 1804 | | |
1805 | 1805 | | |
1806 | | - | |
1807 | | - | |
1808 | | - | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
1809 | 1810 | | |
1810 | 1811 | | |
1811 | 1812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
591 | 593 | | |
592 | 594 | | |
593 | 595 | | |
| |||
0 commit comments