Diveyam-Mishra opened a new pull request, #50233:
URL: https://github.com/apache/arrow/pull/50233
[Parquet] Guard against null level pointers in UpdateLevelHistogram
column_writer.cc
1. Added ARROW_DCHECK and null guard in the add_levels lambda
size_statistics_test.cc
2. Added regression test for empty/null span
Add an explicit null-pointer check before constructing a std::span in
TypedColumnWriterImpl::UpdateLevelHistogram. This avoids relying on the
implicit invariant that nullptr level pointers only occur when
max_level == 0.
Also add a regression test verifying that UpdateLevelHistogram handles
an empty span as a no op.
--
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]