You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UnionMapWriter fails to write fixed size binary #586
Actually hits NullableStructWriter#writeNull whereas UnionMapWriter should override writeNull 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 invoking UnionListWriter#fixedSizeBinary():
Activity
[-]UnionMapWriter fails to write null values[/-][+]UnionMapWriter fails to write fixed size binary[/+]jbonofre commentedon Feb 12, 2025
Let me try to reproduce the issue on a test (and fix it).
mihazagar commentedon Apr 27, 2025
@jbonofre , I’d like to tackle this issue!
Please let me know if there are any details you’d like me to keep in mind.
apacheGH-586: Override fixedSizeBinary method for UnionMapWriter
apacheGH-586: Implement a separate unit test for FixedSizeBinaryWriter
apacheGH-586: Implement a separate unit test for FixedSizeBinaryWriter
apacheGH-586: Introduce fixedSizeBinary(int byteWidth) + fix test
apacheGH-586: Use only maps in the testFixedSizeBinaryWriter
apacheGH-586: Use only maps in the testFixedSizeBinaryWriter
apacheGH-586: Add unit test for first time key and value initialization
apacheGH-586: Override fixedSizeBinary method for UnionMapWriter (apa…