开发者社区 问答 正文

查询数据时报:Semanticanalysisexception相关错误

查询数据时报了这个错误:Semanticanalysisexception-INTtypeisnotenabled incurrentmode,int类型为什么不能用呢?

展开
收起
montos 2020-05-27 12:56:53 7063 分享 版权
1 条回答
写回答
取消 提交回答
  • 使用int类型需要打开setodps.sql.type.system.odps2=true。默认支持的是bigint,如果没有特别的需求的话,只用bigint就可以了。

    如有更多疑问咨询可以加入MaxCompute开发者社区钉群点击链接

    2020-05-27 14:02:34
    赞同 展开评论
问答地址: