Skip to content

fix(rust): add missing chrono-tz feature #2295

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

Merged
merged 5 commits into from
Mar 19, 2024

Conversation

ion-elgreco
Copy link
Collaborator

Description

Hopefully resolves: Failed to convert into Arrow schema: Parser error: Invalid timezone "UTC": only offset based timezones supported without chrono-tz feature

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Mar 16, 2024
@ion-elgreco ion-elgreco changed the title add feature fix(rust): add missing chrono-tz feature Mar 16, 2024
@delta-io delta-io deleted a comment from github-actions bot Mar 16, 2024
@ion-elgreco ion-elgreco force-pushed the fix/missing_chrono_feature branch from 39babeb to 739bd4f Compare March 16, 2024 16:17
@rtyler rtyler self-assigned this Mar 19, 2024
@rtyler
Copy link
Member

rtyler commented Mar 19, 2024

As far as my one little test is concerned, this does fix the issue 😕 Might as well merge 😄

@rtyler rtyler enabled auto-merge (rebase) March 19, 2024 13:15
@rtyler rtyler disabled auto-merge March 19, 2024 13:31
@rtyler rtyler merged commit 7379d09 into delta-io:main Mar 19, 2024
@ion-elgreco
Copy link
Collaborator Author

@rtyler Yey 👯

Fokko added a commit to apache/iceberg-rust that referenced this pull request Mar 18, 2025
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes #123` indicates that this PR will close issue #123.
-->

- Closes #1078.

## What changes are included in this PR?

<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->
Enable `chrono-tz` feature in the `arrow` dependency
Thanks to this reference, delta-io/delta-rs#2295

## Are these changes tested?

<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
Yes. Unit test coverage using datetime with timezone

Co-authored-by: Fokko Driesprong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants