Kirill Tkalenko created IGNITE-29031:
----------------------------------------
Summary: SQL Calcite: Support byte[] in UDF and UDTF parameters
and results
Key: IGNITE-29031
URL: https://issues.apache.org/jira/browse/IGNITE-29031
Project: Ignite
Issue Type: Bug
Reporter: Kirill Tkalenko
Assignee: Kirill Tkalenko
Java UDFs and UDTFs using {{byte[]}} fail because Calcite represents
{{{}BINARY{}}}/{{{}VARBINARY{}}} values internally as {{ByteString}} without
converting them at the function boundary.
Add {{byte[] <-> ByteString}} conversion for UDF and UDTF parameters and
results. User-defined functions should use the documented Java type {{byte[]}}
without depending on Calcite classes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)