开发者社区> 问答> 正文

o.execute_sql 报错

from odps import ODPS
o = ODPS(·········)
o.execute_sql("select * from girls") # girls我项目下的一张表

结果报了个错误
odps.errors.ODPSError: InstanceId: 20180826014033523ggikc292
ODPS-0130071:[0,0] Semantic analysis exception - physical plan generation failed: java.lang.RuntimeException: Table(satori,girls) is full scan with all partitions, please specify partition predicates.

展开
收起
古明地盆 2018-08-26 09:48:25 3067 0
1 条回答
写回答
取消 提交回答
  • 自由散漫的开发者,哇哈哈

    需要指明分区。通过全分区扫描,扫到了多张girls表,不知道用那个

    2019-07-17 23:02:23
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
SQL Server在电子商务中的应用与实践 立即下载
GeoMesa on Spark SQL 立即下载
原生SQL on Hadoop引擎- Apache HAWQ 2.x最新技术解密malili 立即下载