Dataphin代码任务报错"column XXX in source has incompatible type STRING with destination column XXX, which has type BIGINT"
更新时间:2021-11-16 07:52:00
问题描述
SQL代码任务在执行过程中报错"column XXX in source has incompatible type STRING with destination column XXX, which has type BIGINT"。计算源为Max Compute。
问题原因
数据类型不匹配。
解决方案
在sql开头添加如下参数设置:
set odps.sql.hive.compatible=true;
适用于
- Dataphin-代码任务
该文章对您有帮助吗?
- 本页导读
- 问题描述
- 问题原因
- 解决方案
- 适用于