我想输入VARIANT,返回VARIANT,自定义udf返回类型map<string,string>
CREATE FUNCTION java_udf_test(string, string) RETURNS map<string,string> PROPERTIES (
"file"="file:///path/to/java-udf-demo-jar-with-dependencies.jar",
"symbol"="org.apache.doris.udf.Test",
"always_nullable"="true",
"type"="JAVA_UDF"
);
错误如下:
UDF定义如下: