UnionMapWriter fails to write fixed size binary #586
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
Type: bug
Something isn't working
A UnionMapWriter will null out the entire map struct entry instead of setting the value to null:
Actually hits
NullableStructWriter#writeNull
whereas UnionMapWriter should overridewriteNull
and do a switch on the mode (though I'm not certain if null keys are valid).EDIT:
Actually, the issue is that
fixedSizeBinary
needs to be overriden! Very frustrating, but this call is not overridden and is instead invokingUnionListWriter#fixedSizeBinary()
:The real impl needs to override like so:
The text was updated successfully, but these errors were encountered: