Commit 8a16119
fix: restore MaskedArray.segment() delegation to inner array
Removed buffer(0) delegation when dropping Array interface methods;
segment() on MaskedArray now throws, breaking AlpEncoding, ChunkedEncoding,
and RunEndEncoding when decoding nullable columns. Restore delegation via
deprecated segment() override on MaskedArray and unwrap in ScanIterator.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 94582dd commit 8a16119
2 files changed
Lines changed: 15 additions & 1 deletion
File tree
- core/src/main/java/io/github/dfa1/vortex/core/array
- reader/src/main/java/io/github/dfa1/vortex/scan
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
43 | 56 | | |
44 | 57 | | |
45 | 58 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| |||
0 commit comments