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
In my test suite I have a test that includes the following:
substr(error_code, 3)
where error_code was an int32. In previous versions of DF the error_code used to be automatically coerced to Utf8 however with #12308 a coerce_types impl was added that no longer will try to coerce types to Utf8. Instead the sql needs to be changed to the following to work
substr(error_code::varchar, 3)
To Reproduce
select substr(123456, 3);
Expected behavior
type coercion should allow for this to work as it used to.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
In my test suite I have a test that includes the following:
substr(error_code, 3)
where error_code was an int32. In previous versions of DF the error_code used to be automatically coerced to Utf8 however with #12308 a
coerce_types
impl was added that no longer will try to coerce types to Utf8. Instead the sql needs to be changed to the following to worksubstr(error_code::varchar, 3)
To Reproduce
Expected behavior
type coercion should allow for this to work as it used to.
Additional context
No response
The text was updated successfully, but these errors were encountered: