KONEONE opened a new issue, #56230: URL: https://github.com/apache/doris/issues/56230
### 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 3.0.7 ### What's Wrong? 这是我的Java函数: ```java import org.apache.hadoop.hive.ql.exec.UDF; import java.net.InetAddress; public class IsReservedIpUDF extends UDF { public String evaluate(InetAddress ipNum){ return ""; } } ``` 这是我的sql ```sql CREATE FUNCTION is_reserved_ip(IPV4) RETURNS STRING PROPERTIES( "file" = "file:///opt/manager_udf/is_reserved_ip_udf.jar", "symbol" = "com.xxxx.doris.udf.IsReservedIpUDF", "always_nullable" = "true", "type" = "JAVA_UDF" ); ``` 报错信息为: ```text errCode = 2, detailMessage = UDF class 'com.xxxx.doris.udf.IsReservedIpUDF' method 'evaluate' arg0[java.net.InetAddress] type is not supported! ``` ### What You Expected? 我知道ipv4会隐射为一个int类型,我尝试使用integer类型,确是常见成功了。但是我使用如下测试: ```sql select is_reserved_ip(to_ipv4('192.168.1.20')) as col; ``` 很不幸,在be节点出现 无法创建这个jar的实例。 ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [x] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
