Repository navigation
Commit 53cb606
refactor(proto): carry apache#23999 into the moved PartitionedFile decode
apache#23999 landed in `datafusion-proto` while this branch was open, fixing
the duplicate-partition-statistics decode that apache#23998 described. The
moved copy in `datafusion-datasource` predates it, so replaying the move
on top of current main would have silently reverted the fix.
Apply it to the copy that now owns the wire logic, so the delegating shim
behaves exactly as `main` does today. Upstream's regression test,
`partitioned_file_statistics_roundtrip_with_partition_values`, exercises
the shim and therefore pins the moved impl.
The round-trip test here asserted only that statistics survived decode,
because on the old base they did not survive it faithfully. That caveat
is gone: it now asserts the decoded statistics equal the originals, and
that they span the full table schema.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 8213bf9 commit 53cb606
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
0 commit comments