Skip to content
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

Add support for serializing TimestampNTZType #673

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

engechas
Copy link
Contributor

Description

Adds support for serializing TimestampNTZType by considering it the same case as a TimestampType

Issues Resolved

N/A

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Chase Engelbrecht <[email protected]>
Copy link
Collaborator

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! Just wonder there is no difference between the two types for OpenSearch? Or this is just a quick fix?

@engechas
Copy link
Contributor Author

Thanks for the fix! Just wonder there is no difference between the two types for OpenSearch? Or this is just a quick fix?

There doesn't seem to be. Both types are ultimately dates in OpenSearch and use the same format, one just has a TZ attached whereas the other doesn't

@dai-chen dai-chen merged commit 7ff1512 into opensearch-project:main Sep 19, 2024
4 checks passed
@dai-chen
Copy link
Collaborator

@noCharger Not sure whether we want to backport this. Please label accordingly.

@dai-chen
Copy link
Collaborator

dai-chen commented Sep 19, 2024

@engechas Does this PR resolve #593 ?

@dai-chen dai-chen added bug Something isn't working 0.6 labels Sep 19, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 19, 2024
* Add support for TIMESTAMP_NTZ in FlintDataType

Signed-off-by: Chase Engelbrecht <[email protected]>

* Add unit test

Signed-off-by: Chase Engelbrecht <[email protected]>

---------

Signed-off-by: Chase Engelbrecht <[email protected]>
(cherry picked from commit 7ff1512)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 19, 2024
* Add support for TIMESTAMP_NTZ in FlintDataType

Signed-off-by: Chase Engelbrecht <[email protected]>

* Add unit test

Signed-off-by: Chase Engelbrecht <[email protected]>

---------

Signed-off-by: Chase Engelbrecht <[email protected]>
(cherry picked from commit 7ff1512)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
noCharger pushed a commit that referenced this pull request Sep 20, 2024
* Add support for TIMESTAMP_NTZ in FlintDataType



* Add unit test



---------


(cherry picked from commit 7ff1512)

Signed-off-by: Chase Engelbrecht <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
noCharger pushed a commit that referenced this pull request Sep 20, 2024
* Add support for TIMESTAMP_NTZ in FlintDataType



* Add unit test



---------


(cherry picked from commit 7ff1512)

Signed-off-by: Chase Engelbrecht <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@engechas
Copy link
Contributor Author

@engechas Does this PR resolve #593 ?

Yes, will close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants