Skip to content

Commit

Permalink
Fix stupid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Feb 7, 2025
1 parent 8ef8399 commit 2bad456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/parquet/column_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,8 @@ void ColumnWriterImpl::BuildDataPageV2(int64_t definition_levels_rle_size,
compressed_values = compressor_temp_buffer_;
page_is_compressed = true;
}
} else {
}
if (!page_is_compressed) {
compressed_values = values;
}

Expand Down

0 comments on commit 2bad456

Please sign in to comment.