Repository navigation
Commit 12a42d9
committed
review: reuse Expr::qualified_name for the projection field name
`Expr::qualified_name` implements and documents exactly the three arms the
local helper had, so the helper was a second copy of the field-naming rule
that a later change to either one could drift from. Zip the projection's
expressions with its schema's field names so the pairing is structural
instead of positional, and say in subquery.slt that the aliased case is a
control rather than a regression test.
Verified on the branch merged with main: subquery.slt, subquery_projection.slt,
null_aware_anti_join.slt, null_aware_mark_join.slt and prepare.slt all exit 0,
and cargo test -p datafusion-optimizer is 951 + 29 + 5 passed, 0 failed.1 parent aea1cf9 commit 12a42d9
2 files changed
Lines changed: 10 additions & 19 deletions
File tree
- datafusion
- optimizer/src
- sqllogictest/test_files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 63 | | |
77 | 64 | | |
78 | 65 | | |
| |||
102 | 89 | | |
103 | 90 | | |
104 | 91 | | |
105 | | - | |
106 | | - | |
| 92 | + | |
107 | 93 | | |
108 | 94 | | |
109 | | - | |
110 | | - | |
| 95 | + | |
111 | 96 | | |
112 | 97 | | |
113 | 98 | | |
| |||
117 | 102 | | |
118 | 103 | | |
119 | 104 | | |
120 | | - | |
121 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
122 | 110 | | |
123 | 111 | | |
124 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4092 | 4092 | | |
4093 | 4093 | | |
4094 | 4094 | | |
| 4095 | + | |
| 4096 | + | |
| 4097 | + | |
4095 | 4098 | | |
4096 | 4099 | | |
4097 | 4100 | | |
| |||
0 commit comments