Commit 38ab5c5
feat(writer): zone-map MIN/MAX for extension columns via storage primitive
flushZoneMaps gated min/max on `DType.Primitive`, so extension columns
(e.g. vortex.timestamp over I64) emitted NULL_COUNT-only zone-maps even
though ExtEncoding already propagates the storage array's min/max scalars
to each chunk. Generalise the gate via zoneStatPType, which unwraps an
Extension to its storage primitive; the per-zone stat column is stored as
that primitive, matching Rust (stats computed on the storage array).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8d58d2b commit 38ab5c5
2 files changed
Lines changed: 54 additions & 4 deletions
File tree
- writer/src
- main/java/io/github/dfa1/vortex/writer
- test/java/io/github/dfa1/vortex/writer
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
710 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
711 | 712 | | |
712 | | - | |
| 713 | + | |
| 714 | + | |
713 | 715 | | |
714 | 716 | | |
715 | 717 | | |
716 | 718 | | |
717 | 719 | | |
718 | 720 | | |
719 | | - | |
| 721 | + | |
720 | 722 | | |
721 | 723 | | |
722 | 724 | | |
| |||
804 | 806 | | |
805 | 807 | | |
806 | 808 | | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
807 | 820 | | |
808 | 821 | | |
809 | 822 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
258 | 295 | | |
259 | 296 | | |
260 | 297 | | |
| |||
0 commit comments