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 explicit casts between signed and unsigned ints #81

Closed
Tracked by #3376 ...
alamb opened this issue Apr 26, 2021 · 1 comment
Closed
Tracked by #3376 ...

Add support for explicit casts between signed and unsigned ints #81

alamb opened this issue Apr 26, 2021 · 1 comment
Labels
datafusion Changes in the datafusion crate

Comments

@alamb
Copy link
Contributor

alamb commented Apr 26, 2021

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-8910

Add support for explicit casts between signed and unsigned ints.

Note that the type coercion optimizer rule shoud never implicity perform casts between types when data would be lost e.g. from negative value to unsigned type.

@andygrove andygrove transferred this issue from apache/arrow-rs Apr 26, 2021
@alamb alamb changed the title [DataFusion] Add support for explicit casts between signed and unsigned ints Add support for explicit casts between signed and unsigned ints Apr 26, 2021
@alamb alamb added the datafusion Changes in the datafusion crate label Apr 26, 2021
@alamb
Copy link
Contributor Author

alamb commented Jun 11, 2023

I think we have this feature today

https://arrow.apache.org/datafusion/user-guide/sql/data_types.html

We can also use arrow_cast if needed

@alamb alamb closed this as completed Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

No branches or pull requests

1 participant