DolphinScheduler中工作流报错udf error string to decimal parse failed解决方案如下
报错:
UDF ERROR:String to Decimal cast overflowed
UDF ERROR: String to Decimal parse failed
原因分析:
出现这个错误的原因是因为CDH6中impala升级到impala3之后decimal格式做了升级
解决方案:
①在impala的配置文件~/.impalarc 里加上如下配置
[impala.query_options]
DECIMAL_V2=FALSE
②如果使用的是DolphinScheduler,可直接在错误节点的节点配置下的【前置sql】中添加如下配置
SET DECIMAL_V2=FALSE