sigh...thanks Antoine, that did the trick. That's what I get for programming pre-coffee ;-)
On Tue, Jul 7, 2020 at 10:31 AM Antoine Pitrou <anto...@python.org> wrote: > > Hello Ryan > > Le 07/07/2020 à 11:21, Ryan Murray a écrit : > > > > While trying to finish up the Union integration test between Java & C++ > > https://github.com/apache/arrow/pull/7290 I came across a minor problem > > that I hope I could get some clarification on. > > > > I have the integration test for C++ -> Java passing but Java -> C++ is > > giving me trouble. The check here: > > > https://github.com/apache/arrow/blob/master/cpp/src/arrow/array/validate.cc#L368 > > fails > > as the Union buffers have no validity bitmap. Skipping this check for > > Unions fixes the issue and integration tests pass. > > This check fails because you are sending a non-zero null count. Since > union arrays have no validity bitmap, they should have a zero null count > (their child arrays, however, /can/ have embedded nulls). > > Regards > > Antoine. >