We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1842a0 commit a7512c6Copy full SHA for a7512c6
pyiceberg/io/pyarrow.py
@@ -2447,10 +2447,10 @@ def data_file_statistics_from_parquet_metadata(
2447
scale = stats_col.iceberg_type.scale
2448
col_aggs[field_id].update_min(
2449
unscaled_to_decimal(statistics.min_raw, scale)
2450
- ) if statistics.min_raw else None
+ ) if statistics.min_raw is not None else None
2451
col_aggs[field_id].update_max(
2452
unscaled_to_decimal(statistics.max_raw, scale)
2453
- ) if statistics.max_raw else None
+ ) if statistics.max_raw is not None else None
2454
else:
2455
col_aggs[field_id].update_min(statistics.min)
2456
col_aggs[field_id].update_max(statistics.max)
0 commit comments