Skip to content

Commit

Permalink
don't skip first value for stats
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Oct 2, 2024
1 parent 8c90118 commit ad2dd2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/parquet/column_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ class StandardColumnWriter : public BasicColumnWriter {
continue;
}
const TGT target_value = OP::template Operation<SRC, TGT>(ptr[r]);
OP::template HandleStats<SRC, TGT>(stats, ptr[r], target_value);
encoder.BeginWrite(temp_writer, target_value);
page_state.initialized = true;
r++; // skip over
Expand Down

0 comments on commit ad2dd2c

Please sign in to comment.