Commit 907e83a
fix: accept FixedSizeList dtype when deserializing ListValue scalars
Scalar serialization writes ScalarValue::Tuple as a protobuf ListValue
regardless of whether the dtype is List or FixedSizeList, but
list_from_proto only accepted List. Since #8667 made constant detection
unconditional in the cascading compressor, a constant FixedSizeList
column (e.g. a UUID stored as fixed_size_list(u8)[16]) is written as a
ConstantArray whose scalar metadata then fails to deserialize on read:
expected List dtype for ListValue, got fixed_size_list(u8)[16]
Scalar validation already handles FixedSizeList + Tuple (including the
size check), so deserialization was the only gap.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>1 parent c7c28d8 commit 907e83a
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
445 | | - | |
446 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
| |||
0 commit comments