Skip to content

u64::MAX does not roundtrip through parquet #254

@crepererum

Description

@crepererum

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.

Metadata

Metadata

Assignees

Labels

bugparquetChanges to the parquet crate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions