Skip to content

Commit

Permalink
Update cpp/src/parquet/metadata.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
  • Loading branch information
mapleFU and pitrou authored Jan 13, 2025
1 parent e8adbf9 commit 15b68e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/parquet/metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ class RowGroupMetaDataBuilder::RowGroupMetaDataBuilderImpl {
row_group_->__set_file_offset(file_offset);
row_group_->__set_total_compressed_size(total_compressed_size);
row_group_->__set_total_byte_size(total_bytes_written);
if (row_group_ordinal > 0) {
if (row_group_ordinal >= 0) {
row_group_->__set_ordinal(row_group_ordinal);
}
}
Expand Down

0 comments on commit 15b68e5

Please sign in to comment.