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
This is a cleanup ticket for #12212 which had introduced logic for regexp forcing coercion to Utf8 if any side had utf8View. This looks to have been done before #12180 landed which to my understanding should negate the need for this.
However, I think fixing regexp_match to support utf8View should likely land before the special handling code and tests introduced in #12212 is removed.
Describe the bug
This is a cleanup ticket for #12212 which had introduced logic for regexp forcing coercion to Utf8 if any side had utf8View. This looks to have been done before #12180 landed which to my understanding should negate the need for this.
However, I think fixing regexp_match to support utf8View should likely land before the special handling code and tests introduced in #12212 is removed.
To Reproduce
See
datafusion/datafusion/expr-common/src/type_coercion/binary.rs
Line 1109 in 7ebd993
datafusion/datafusion/optimizer/src/unwrap_cast_in_comparison.rs
Line 168 in 7ebd993
Expected behavior
Utf8View is supported and not coerced to Utf8 for all regexp functions including via binary operators.
Additional context
No response
The text was updated successfully, but these errors were encountered: