You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for string view to a few functions #13330
Is your feature request related to a problem or challenge?
These functions are failing when passing in a string view instead of a string. Now that string view is the default type, it is causing some regressions on existing code that have to be modified.
Describe the solution you'd like
Add options of passing in string view to these:
ArrayToString
NamedStructFunc
DateBinFunc (I couldn't quite track down where the Utf->Interval or Timestamp conversion occurs
BitLengthFunc
ConcatFunc (gives error on optimizer not matching schema)
EncodeFunc
Describe alternatives you've considered
No response
Additional context
These were discovered during the datafusion-python migration to DF43.0.0. This commit is where I made adjustments in that repo to account for these: apache/datafusion-python@fcb5f96
Activity
timsaucer commentedon Nov 10, 2024
Related: #13347
Omega359 commentedon Nov 11, 2024
regexp_match looks to not support stringview either.
Omega359 commentedon Nov 11, 2024
regexp_match filed as #13357- was a duplicate of already filed #11911Omega359 commentedon Nov 11, 2024
Related:
timsaucer commentedon Nov 11, 2024
I'm going to recommend a 43.1.0 release after we get all these resolved
Omega359 commentedon Nov 11, 2024
array_to_string also does not appear to support Utf8View
Omega359 commentedon Nov 11, 2024
None of the crypto functions support UTF8View directly as a input type. For example digest:
Omega359 commentedon Nov 11, 2024
NullIf:
Omega359 commentedon Nov 11, 2024
nvl:
Omega359 commentedon Nov 14, 2024
crypto PR - #13407
array_to_string/string_to_array PR - #13403
nvl PR - #13382
nullif PR - #13380