Closed aabbiiL closed 6 years ago
ODPSError: InstanceId: 20171221102131257g9c5vlu ODPS-0130071:[0,0] Semantic analysis exception - INT type is not enabled in current mode ODPS-0130071:[0,0] Semantic analysis exception - INT type is not enabled in current mode
这个实际上应该是没打开 MaxCompute 的 hive 类型兼容选项。
升级到新版,然后设置选项:
from odps import options options.sql.use_odps2_extension = True
然后重跑试下
ODPSError: InstanceId: 20171221102131257g9c5vlu ODPS-0130071:[0,0] Semantic analysis exception - INT type is not enabled in current mode ODPS-0130071:[0,0] Semantic analysis exception - INT type is not enabled in current mode