We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error handling mismatch between Velox and Presto for function from_utf8. Velox doesn't accept negative unicode values as input for said function.
from_utf8
Velox:
presto:di> select from_utf8(c0, c1) from (values (varbinary 'Y%ZM~(d%I=s7+#l"T.8''Qf,w0{2-_P;zLmf', -6)) t(c0, c1); Query 20250305_215555_43636_nqej6 failed: validCodePoint Not a valid Unicode code point: -6 Top-level Expression: presto.default.from_utf8(field, cast((field_0) as BIGINT))
Presto:
presto> select from_utf8(c0, c1) from (values (varbinary 'Y%ZM~(d%I=s7+#l"T.8''Qf,w0{2-_P;zLmf', -6)) t(c0, c1); _col0 ------------------------------------- Y%ZM~(d%I=s7+#l"T.8'Qf,w0{2-_P;zLmf (1 row)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Error handling mismatch between Velox and Presto for function
from_utf8
. Velox doesn't accept negative unicode values as input for said function.Error Reproduction
Velox:
Presto:
The text was updated successfully, but these errors were encountered: