Dataphin代码任务报错"column XXX in source has incompatible type STRING with destination column XXX, which has type BIGINT"
更新时间:
问题描述
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-代码任务
反馈
- 本页导读
文档反馈