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

Enable matching temporal as from_type to Utf8View #6872

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

Kev1n8
Copy link
Contributor

@Kev1n8 Kev1n8 commented Dec 12, 2024

Which issue does this PR close?

Closes #6734

Rationale for this change

The original patterns do not contain that matches from Timestamp to Utf8View, causing it throws CastError("Casting from Timestamp(Millisecond, None) to Utf8View not supported")

What changes are included in this PR?

Match from_type.is_primitive() instead of from_type.is_numeric(). Uncomment relevant tests.

Are there any user-facing changes?

No.

@github-actions github-actions bot added the arrow Changes to the arrow crate label Dec 12, 2024
@tustvold tustvold merged commit e613622 into apache:main Dec 12, 2024
27 checks passed
@Kev1n8 Kev1n8 deleted the support-cast-temporal-utf8view branch December 13, 2024 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Temporal -> Utf8View casting
2 participants