Skip to content

Commit 49e9814

Browse files
authored
fix max stats (#65)
1 parent f4d3827 commit 49e9814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/iceberg/src/writer/file_writer/parquet_writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl MinMaxColAggregator {
260260
self.upper_bounds
261261
.entry(field_id)
262262
.and_modify(|e| {
263-
if *e > datum {
263+
if *e < datum {
264264
*e = datum.clone()
265265
}
266266
})

0 commit comments

Comments
 (0)