Skip to content

adapters: serialize Avro ubigint as string#6719

Open
xiasongh wants to merge 1 commit into
feldera:mainfrom
xiasongh:shuang/avro-ubigint-string
Open

adapters: serialize Avro ubigint as string#6719
xiasongh wants to merge 1 commit into
feldera:mainfrom
xiasongh:shuang/avro-ubigint-string

Conversation

@xiasongh

Copy link
Copy Markdown
Contributor

allow u64 to be serialized as string, which is also the avro datatype feldera generates for u64

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preserves full u64 range by falling through to AvroSchema::String when the schema declares string — the existing AvroSchema::Long path already errors above i64::MAX, so this is the natural escape hatch. Test pins u64::MAX. Fine.

APPROVE.

@mihaibudiu
mihaibudiu added this pull request to the merge queue Jul 24, 2026
@gz
gz removed this pull request from the merge queue due to a manual request Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants