Skip to content

adapters: serialize Avro timestamptz as timestamp-micros - #6718

Merged
ryzhyk merged 1 commit into
feldera:mainfrom
xiasongh:shuang/avro-timestamptz
Jul 28, 2026
Merged

adapters: serialize Avro timestamptz as timestamp-micros#6718
ryzhyk merged 1 commit into
feldera:mainfrom
xiasongh:shuang/avro-timestamptz

Conversation

@xiasongh

Copy link
Copy Markdown
Contributor

timestamptz was using default string serialization, but should be using avro's timestamp-micros, which is also the avro datatype feldera generates for timestamptz types

@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.

Straightforward: timestamp_tz_format was left at the default in the Avro serde config, so timestamptz columns weren't serialized as timestamp-micros. Explicit setter on SqlSerdeConfig + a targeted round-trip test.

APPROVE.

@xiasongh

Copy link
Copy Markdown
Contributor Author

just realized same fix was made in #6619

@mihaibudiu

Copy link
Copy Markdown
Contributor

Yes, but this PR was reviewed, and the other wasn't...

@mihaibudiu
mihaibudiu added this pull request to the merge queue Jul 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 26, 2026
@mihaibudiu

Copy link
Copy Markdown
Contributor

Can you please fix these conflicts?

@ryzhyk
ryzhyk force-pushed the shuang/avro-timestamptz branch from 7f57ef5 to 87bf440 Compare July 28, 2026 05:18
@ryzhyk
ryzhyk enabled auto-merge July 28, 2026 05:19
@ryzhyk
ryzhyk added this pull request to the merge queue Jul 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 28, 2026
@ryzhyk
ryzhyk added this pull request to the merge queue Jul 28, 2026
Merged via the queue into feldera:main with commit c5a0973 Jul 28, 2026
1 check passed
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.

4 participants