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

[arrow-cast] Unsupported output type for dictionary packing: FixedSizeBinary(16) #6665

Open
metalmatze opened this issue Oct 31, 2024 · 0 comments · May be fixed by #6666
Open

[arrow-cast] Unsupported output type for dictionary packing: FixedSizeBinary(16) #6665

metalmatze opened this issue Oct 31, 2024 · 0 comments · May be fixed by #6666
Labels
enhancement Any new improvement worthy of a entry in the changelog

Comments

@metalmatze
Copy link

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

Currently, I get the following error:

Arrow error: Cast error: Unsupported output type for dictionary packing: FixedSizeBinary(16)

Describe the solution you'd like

I would like to be able to cast the type.
This is needed to group by in Datafusion.

Describe alternatives you've considered

Maybe first casting to utf8 or something, but that seems more like a work around in the query itself.

Additional context

A Datafusion query will throw the above error if the column foo has type FixedSizeBinary(16).

SELECT foo, count(bar) FROM table GROUP BY foo;
@metalmatze metalmatze added the enhancement Any new improvement worthy of a entry in the changelog label Oct 31, 2024
@metalmatze metalmatze linked a pull request Oct 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant