Apache Doris 中文技术论坛
Questions Tags Users Badges

【已解决】执行调用自定义函数报错

Asked Jan 15 Modified Feb 7
Viewed 56
2.1 functions

执行调用自定义函数报错

select
    TO_CHAR('1.1','fm9999999990.0')

image.png

create GLOBAL FUNCTION to_char(text, text) RETURNS text PROPERTIES (
  "SYMBOL"="org.apache.doris.udf.TO_CHAR",
  "FILE"="file:/hip/doris/be/lib/java-udf-demo.jar",
  "ALWAYS_NULLABLE"="true",
  "TYPE"="JAVA_UDF"
);

三台BE节点/hip/doris/be/lib/java-udf-demo.jar都有了

edited Feb 7
wywCn7
asked Jan 15
2 Answers

使用http方式

edited Jan 1, 1970
wywCn7
answered Jan 17

file:///hip/doris/be/lib/java-udf-demo.jar

edited Jan 1, 1970
zy-kkk666
answered Jan 16
Related Questions
Apache Doris内存不够,为什么不像spark一样排队处理,Tablet排队一个个处理,而是报错,请问这个解释对吗
1 answers
为什么相同的内存,执行一样的任务,spark可以执行完,但是doris却报内存不足错误,doris已经调整了单个任务可以使用集权资源的80%
1 answers
Doris 多任务并发更新部分列,出现数据丢失情况如何处理
无法识别关键字 ROUTINE LOAD:no viable alternative at input 'CREATE ROUTINE'
1 answers
关于workloadGroup
Doris查询超时,已在SQL语句设置/*+ query_timeout(3000) */ 仍然在900秒时中断
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.