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

get_wider_type in binary.rs does not support utf8view #13360

Open
Tracked by #13504
Omega359 opened this issue Nov 11, 2024 · 2 comments · May be fixed by #13370 or #14378
Open
Tracked by #13504

get_wider_type in binary.rs does not support utf8view #13360

Omega359 opened this issue Nov 11, 2024 · 2 comments · May be fixed by #13370 or #14378
Labels
bug Something isn't working

Comments

@Omega359
Copy link
Contributor

Describe the bug

get_wider_type has support for (LargeUtf8, Utf8) and (Utf8, LargeUtf8) however it's missing support for (LargeUtf8, Utf8View) and (Utf8View, LargeUtf8)

To Reproduce

No response

Expected behavior

get_wider_type properly handles utf8view

Additional context

No response

@alamb
Copy link
Contributor

alamb commented Jan 30, 2025

It turns out the only user of get_wider_type as noted by @jayzhan211 and @Omega359 in #13370 (comment)
So this ticket is really "ensure Utf8View works with array_concat

@alamb alamb linked a pull request Jan 30, 2025 that will close this issue
@alamb
Copy link
Contributor

alamb commented Jan 30, 2025

I tested and array_concat actually already supports Utf8View

Here is a proposed fix for get_wider_type (that deletes it):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants