-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
AVRO-4037: [C++] Add local-timestamp-millis, local-timestamp-micros logical types #3053
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.
LGTM!
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.
I worried a bit about potential bugs in conversions between Avro timestamps and std::chrono::
types; but AFAICT this library doesn't implement any such conversions, so it can't have any bugs in them.
You are right |
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.
This looks good, thanks @glywk for adding this. Thanks @Gerrit0 and @KalleOlaviNiemitalo for the review 🚀
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.
Looks like one of the errors still mixes - and _
Sorry, you are right. It's fixed now. |
…s as defined since specification 1.10.0
Co-authored-by: Kalle Olavi Niemitalo <[email protected]>
332b76c
to
c3c747e
Compare
std::vector definition was not in the right file. It also ease the conan integration (conan-io/conan-center-index#24854) |
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.
Do we want to also add support for [local-]timestamp-nanos too with this PR ?
#2554
BTW why there is no JIRA for this PR ? |
I have no access to JIRA to create one. I have requested one but it was rejected. Can you create one for me? I will request a new one for a next time. |
Sure!
What about this ? |
|
Thank you, @glywk ! |
AVRO-4037
What is the purpose of the change
This pull request adds support of the following logical types as defined since specification 1.10.0:
Verifying this change
This change added tests and can be verified as follows:
Documentation