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
arrow-avro cannot flush records with no fields #10770
An Avro record with no fields is legal, and encodes to zero bytes. The reader accepts such a schema and decodes its (empty) bytes fine, but fails at flush:
Invalid argument error: use StructArray::try_new_with_length or
StructArray::new_empty_fields to create a struct array with no
fields so that the length can be set correctly
Decoder::Record flushes through StructArray::try_new, which infers its length from the first child array, but a zero-field record has no child array.
Activity
fix(arrow-avro): decode records with no fields (#10771)
fix(arrow-avro): decode records with no fields (apache#10771)
fix(arrow-avro): decode records with no fields (apache#10771)
fix(arrow-avro): decode records with no fields (apache#10771)