asubiotto opened a new issue, #10000:
URL: https://github.com/apache/arrow-rs/issues/10000
**Describe the bug**
`Uuid::deserialize_metadata` rejects any `Some(_)` value, including
`Some("")`. Some Arrow implementations (e.g. arrow-go) unconditionally write
`""` for the `ARROW:extension:metadata` key on every extension-typed field, so
reading such IPC streams with `arrow-rs` fails with `Uuid extension type
expects no metadata`.
**Expected behavior**
An empty metadata string should be treated as equivalent to no metadata,
matching the existing tolerance in `TimestampWithOffset::deserialize_metadata`
(`arrow-schema/src/extension/canonical/timestamp_with_offset.rs:75-88`).
**Additional context**
`Uuid` is the only `Metadata = ()` canonical extension type that doesn't
already accept `Some("")`. `Bool8` and `Json` legitimately use `""` as their
actual metadata value per the canonical spec and should not change.
--
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]