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 Utf8View -> numeric in can_cast_types #6715

Closed
Omega359 opened this issue Nov 11, 2024 · 1 comment · Fixed by #6720
Closed

Add support for Utf8View -> numeric in can_cast_types #6715

Omega359 opened this issue Nov 11, 2024 · 1 comment · Fixed by #6720
Assignees
Labels

Comments

@Omega359
Copy link
Contributor

Describe the bug

It looks like utf8View -> numeric support is available in cast_with_options however can_cast_types does not reflect that.

can_cast_types should be gone over closely to verify it reflects what is actually supported wrt Utf8Views

To Reproduce

Done via DF's slt tests

query B
select arrow_cast(arrow_cast('1', 'Utf8View'), 'Int32') < 2;
----
true

DataFusion error: This feature is not implemented: Unsupported CAST from Utf8View to Int32

Expected behavior

This should work as expected

Additional context

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

Successfully merging a pull request may close this issue.

2 participants