Commit 9b48073
committed
Refactor utility layers and improve code compactness
Flatten single-use helper layers and tighten small utility helpers.
In push_down_filter, fold the join-input classifier and bind
predicate.column_refs() once for join inference. Shorten test-only
import surface in utils.rs and compact mapping helpers in
null_restriction.rs without changing semantics.1 parent 787d0a4 commit 9b48073
File tree
3 files changed
+24
-30
lines changed- datafusion/optimizer/src
- utils
3 files changed
+24
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
297 | 298 | | |
298 | | - | |
299 | | - | |
300 | 299 | | |
301 | | - | |
302 | 300 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 301 | + | |
306 | 302 | | |
307 | | - | |
| 303 | + | |
308 | 304 | | |
309 | 305 | | |
310 | 306 | | |
| |||
754 | 750 | | |
755 | 751 | | |
756 | 752 | | |
| 753 | + | |
757 | 754 | | |
758 | 755 | | |
759 | 756 | | |
760 | | - | |
| 757 | + | |
761 | 758 | | |
762 | 759 | | |
763 | 760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 42 | + | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments