Commit 795e3e9
fix(codegen): fold struct-column qualifier; +equality/fold coverage (Tasks 3-4 review)
Review of Tasks 3-4 flagged an unquoted uppercase struct-column qualifier not
being folded: S.x built a lookup for column 'S' while DataFusion folds it to
's'. Fold the qualifier when the validate rewrite reinterprets it as a column
(safe: the relation lookup already matched it raw and missed). Locked with an
xfail_on_native diff test -- native has the same (worse) gap, wants a ticket.
Also: comment the deliberate drop of the plan's 4-part catalog raise (lets
t.s.a.b resolve via layered FieldAccess), and add list-inequality coverage.
Left unfixed (noted for tickets): struct=scalar returns False where DataFusion
type-errors; field access on a NULL struct (DataFusion returns 0, not NULL) --
both out of Phase B's committed surface.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 7a502a9 commit 795e3e9
2 files changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
| |||
747 | 750 | | |
748 | 751 | | |
749 | 752 | | |
750 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
751 | 759 | | |
752 | 760 | | |
753 | 761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
151 | 162 | | |
152 | 163 | | |
153 | 164 | | |
| |||
170 | 181 | | |
171 | 182 | | |
172 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
173 | 191 | | |
174 | 192 | | |
175 | 193 | | |
| |||
0 commit comments