Skip to content

Commit 35d9c15

Browse files
wgtmacamoeba
authored andcommitted
GH-45212: [C++][Parquet] Fix uninitialized size_statistics_level property (#45213)
### Rationale for this change The PR to introduce SizeStatistics has spanned several months, during which time WriterProperties::Builder(const WriterProperties& properties) was added. ### What changes are included in this PR? This PR fixes WriterProperties::Builder(const WriterProperties& properties) function to initialize size_statistics_level_. ### Are these changes tested? Pass CIs. ### Are there any user-facing changes? No. * GitHub Issue: #45212 Authored-by: Gang Wu <[email protected]> Signed-off-by: Gang Wu <[email protected]>
1 parent ffea469 commit 35d9c15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/src/parquet/properties.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ class PARQUET_EXPORT WriterProperties {
271271
created_by_(properties.created_by()),
272272
store_decimal_as_integer_(properties.store_decimal_as_integer()),
273273
page_checksum_enabled_(properties.page_checksum_enabled()),
274+
size_statistics_level_(properties.size_statistics_level()),
274275
sorting_columns_(properties.sorting_columns()),
275276
default_column_properties_(properties.default_column_properties()) {}
276277

0 commit comments

Comments
 (0)