shanhuuang commented on pull request #11725: URL: https://github.com/apache/arrow/pull/11725#issuecomment-972611771
> @shanhuuang Can I ask you to give this a quick look? I don't really understand why it need a special check when max_values is 0. But it's fine to add this check. I guess the error log means that total_value_count_ in condition "if (ARROW_PREDICT_FALSE(total_value_count_ == 0))" is not explicitly initialized. However, total_value_count_ is initialized by `decoder_->GetVlqInt(&total_value_count_)` in function `DeltaBitPackDecoder<DType>::InitHeader` because `SetData`/`SetDecoder` is always called before `Decode` -- 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]
