McClone opened a new issue, #29968:
URL: https://github.com/apache/doris/issues/29968

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0.2
   
   ### What's Wrong?
   
   1.create udf
   CREATE FUNCTION is_diff(array<string>) RETURNS int PROPERTIES (
     "SYMBOL"="org.apache.doris.udf.IsDif",
     "FILE"="http://172.16.0.65:8660/jars/doris_udf_v1.1.jar";,
     "ALWAYS_NULLABLE"="false",
     "TYPE"="JAVA_UDF"
   );
   
   
   2.exec select sql
   select is_diff(array('hello', '!', 'world'));
   
   result:
   
   1105 - errCode = 2, detailMessage = 
(172.16.0.64)[CANCELLED][INTERNAL_ERROR]UdfRuntimeException: UDF failed to 
evaluate
   CAUSED BY: ClassCastException: [I cannot be cast to [Ljava.lang.Object;
   
   ### What You Expected?
   
   can exec 
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   JAVA args is ArrayList<String>
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to