-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Describe the bug
u64::MAX
gets truncated to 0 when storing to parquet and reading back.
To Reproduce
Add the following test:
#[test]
fn u64_min_max() {
let values = Arc::new(UInt64Array::from_iter_values(vec![u64::MIN, u64::MAX]));
one_column_roundtrip("u64_min_max_single_column", values, false);
}
Expected behavior
All values either roundtrip correctly or some error is produced - at least they should not be silently truncated.
Additional context
Tested on commit 8f030db53d9eda901c82db9daf94339fc447d0db
.