Anieway commented on code in PR #36183:
URL: https://github.com/apache/arrow/pull/36183#discussion_r1241108442
##########
cpp/src/parquet/encoding.cc:
##########
@@ -2163,6 +2164,8 @@ class DeltaBitPackEncoder : public EncoderImpl, virtual
public TypedEncoder<DTyp
uint32_t total_value_count_{0};
UT first_value_{0};
UT current_value_{0};
+ UT min_delta_;
Review Comment:
It will now be initialized to its maximum value.
Even though this gets overwritten at the start of encoding your suggestion
is a good idea to make sure nothing breaks in case encoding initialization
changes in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]