开发者社区> 问答> 正文

数加平台里面不能用sql语句中的insert吗?

如题,在数加平台上实用sql时用到了insert,结果无法实现,报错如下,有没有遇到类似情况的?SQL with insert into skips retry!!!警告!!!在SQL中使用insert into语句有可能造成不可预料的数据重复,尽管对于insert into语句已经取消SQL级别的重试,但仍然存在进行任务级别重试的可能性,请尽量避免对insert into语句的使用!如果继续使用insert into语句,表明您已经明确insert into语句存在的风险,且愿意承担由于使用insert into语句造成的潜在的数据重复后果。2016-06-30 22:04:10 INFO =================================================================2016-06-30 22:04:10 INFO Exit code of the Shell command 1002016-06-30 22:04:10 INFO --- Invocation of Shell command completed ---2016-06-30 22:04:10 ERROR Shell run failed!2016-06-30 22:04:10 ERROR Current task status: ERROR2016-06-30 22:04:10 INFO Cost time is: 2.508s/home/admin/alisatasknode/taskinfo//20160630/dide/22-04-04/hpf0m7e0nrtdbg4c2xwpebj8/T3_0006223593.log-END-EOF

展开
收起
nx74110 2016-06-30 22:07:51 6429 0
1 条回答
写回答
取消 提交回答
  • 尽量 insert overwrite 吧,insert into 有风险,你可以insert overwrite (select * from t1 union all select * from t2)
    2016-07-01 10:18:02
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
SQL Server 2017 立即下载
GeoMesa on Spark SQL 立即下载
原生SQL on Hadoop引擎- Apache HAWQ 2.x最新技术解密malili 立即下载