-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix][client] Fix conversion of TimestampMillisConversion
has no effect when Jsr310Conversion enabled
#15863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work!
can you change the title explaining the issue ?
improve avro conversion order of registration
seems an improvement and it doesn't talk about the timestamp problem
TimestampMillisConversion
has no effect when Jsr310Conversion
enabled
TimestampMillisConversion
has no effect when Jsr310Conversion
enabledTimestampMillisConversion
has no effect when Jsr310Conversion enabled
ok, I changed the title |
It would be great to see this fix also applied to at least 2.9.x and 2.8.x branches. Is 2.7.x no longer supported? |
### Motivation Fixes #15858 The conversion that is registered first is a higher priority than the registered later, so `TimestampMillisConversion` should not be registered after `TimestampMicrosConversion`. ### Modifications Improve `avro` conversion order of registration. (cherry picked from commit 311fdb5)
### Motivation Fixes apache#15858 The conversion that is registered first is a higher priority than the registered later, so `TimestampMillisConversion` should not be registered after `TimestampMicrosConversion`. ### Modifications Improve `avro` conversion order of registration. (cherry picked from commit 311fdb5)
### Motivation Fixes apache#15858 The conversion that is registered first is a higher priority than the registered later, so `TimestampMillisConversion` should not be registered after `TimestampMicrosConversion`. ### Modifications Improve `avro` conversion order of registration. (cherry picked from commit 311fdb5) (cherry picked from commit 7377a59)
### Motivation Fixes apache#15858 The conversion that is registered first is a higher priority than the registered later, so `TimestampMillisConversion` should not be registered after `TimestampMicrosConversion`. ### Modifications Improve `avro` conversion order of registration. (cherry picked from commit 311fdb5) (cherry picked from commit 784c9c8)
### Motivation Fixes #15858 The conversion that is registered first is a higher priority than the registered later, so `TimestampMillisConversion` should not be registered after `TimestampMicrosConversion`. ### Modifications Improve `avro` conversion order of registration. (cherry picked from commit 311fdb5)
Motivation
Fixes #15858
The conversion that is registered first is a higher priority than the registered later, so
TimestampMillisConversion
should not be registered afterTimestampMicrosConversion
.Modifications
Improve
avro
conversion order of registration.Verifying this change
This change added tests and can be verified
Documentation
Check the box below or label this PR directly.
Need to update docs?
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)