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

Support casting to/from DictionaryArray <--> LargeUTF8, Binary and LargeBinary in Cast Kernels #1179

Closed
tustvold opened this issue Jan 14, 2022 · 1 comment · Fixed by #3542
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog good first issue Good for newcomers help wanted

Comments

@tustvold
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Currently if you try to cast a LargeStringArray, BinaryArray or LargeBinaryArray into a dictionary an error is returned

For example

CastError("Unsupported output type for dictionary packing: LargeUtf8")'

Describe the solution you'd like

Ideally this would work

@tustvold tustvold added the enhancement Any new improvement worthy of a entry in the changelog label Jan 14, 2022
@alamb alamb changed the title Support LargeUTF8, Binary and LargeBinary in Cast Kernels Support casting to/from DictionaryArray <--> LargeUTF8, Binary and LargeBinary in Cast Kernels Jan 19, 2022
@alamb alamb added the arrow Changes to the arrow crate label Jan 19, 2022
@alamb alamb added good first issue Good for newcomers help wanted labels Aug 11, 2022
@alamb
Copy link
Contributor

alamb commented Aug 11, 2022

Specifically, we would like to add support to the cast and cast_with_options kernels:
https://docs.rs/arrow/20.0.0/arrow/compute/kernels/cast/index.html
https://docs.rs/arrow/20.0.0/arrow/compute/kernels/cast/fn.cast_with_options.html

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 enhancement Any new improvement worthy of a entry in the changelog good first issue Good for newcomers help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants