rtpsw commented on PR #14347:
URL: https://github.com/apache/arrow/pull/14347#issuecomment-1277601356

   > > Can you show a snippet that would show the issue?
   > 
   > Good chances I could. I'll need a bit of time to get to this, though.
   
   I added a test that checks for this by comparing a badly structures array 
with a correctly structured one:
   1. The [final 
check](https://github.com/apache/arrow/pull/14347/files#diff-e80b1702ab66ff476d247bd9d5a717b5768802e02c9301c77be6afabf503e765R188-R196)
 in the test covers what you asked for. The other checks appearing before it 
are for normal conditions.
   2. Without the [change in 
`RangeDataEqualsImpl`](https://github.com/apache/arrow/pull/14347/files#diff-f6a61ebe119fc0556e46c09005fad8a3cf3f18f098b2daed9d74c5d27e0a1078R308-R312),
 the final check fails due to not observing a failure.
   3. Without the [change in 
`PrintDiff`](https://github.com/apache/arrow/pull/14347/files#diff-f6a61ebe119fc0556e46c09005fad8a3cf3f18f098b2daed9d74c5d27e0a1078R873-R875)
 (but with the [change in 
`RangeDataEqualsImpl`](https://github.com/apache/arrow/pull/14347/files#diff-f6a61ebe119fc0556e46c09005fad8a3cf3f18f098b2daed9d74c5d27e0a1078R308-R312)),
 the final check leads to a segmentation fault. 


-- 
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]

Reply via email to