Skip to content

Conversation

@xinyual
Copy link
Contributor

@xinyual xinyual commented Apr 5, 2025

Description

Previously, we use getID() and it will return some three-letter time zone IDs like "PLT" which is already deprecated (see here). But toZoneId().toString() will return the full name like 'Asia/Karachi'.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]
#3516

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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: xinyual <xinyual@amazon.com>
Copy link
Collaborator

@Swiddis Swiddis left a comment

Choose a reason for hiding this comment

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

Nice! Is the reason for the breakage that, depending on the actual timezone string, it may or may not be convertible back into a zone? So then it was failing tests based on where the GHA runner was

@LantaoJin LantaoJin merged commit ea020e6 into opensearch-project:main Apr 6, 2025
22 checks passed
@LantaoJin LantaoJin added the calcite calcite migration releated label Apr 7, 2025
penghuo pushed a commit that referenced this pull request Jun 16, 2025
Signed-off-by: xinyual <xinyual@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

calcite calcite migration releated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants