File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
crates/iceberg/src/writer/file_writer Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ impl MinMaxColAggregator {
266
266
self . upper_bounds
267
267
. entry ( field_id)
268
268
. and_modify ( |e| {
269
- if * e > datum {
269
+ if * e < datum {
270
270
* e = datum. clone ( )
271
271
}
272
272
} )
@@ -853,7 +853,9 @@ mod tests {
853
853
854
854
// write data
855
855
let mut pw = ParquetWriterBuilder :: new (
856
- WriterProperties :: builder ( ) . build ( ) ,
856
+ WriterProperties :: builder ( )
857
+ . set_max_row_group_size ( 128 )
858
+ . build ( ) ,
857
859
Arc :: new ( to_write. schema ( ) . as_ref ( ) . try_into ( ) . unwrap ( ) ) ,
858
860
file_io. clone ( ) ,
859
861
location_gen,
Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ imports_granularity = "Module"
24
24
overflow_delimited_expr = true
25
25
trailing_comma = " Vertical"
26
26
where_single_line = true
27
+
You can’t perform that action at this time.
0 commit comments