只选一天怎么依然提示分区过多?


localhost:8900 Server response: 'select * from td where date == 2022.09.06 => The number of partitions [197460] relevant to the query is too large. Please add mor
e specific filtering conditions on partition columns in WHERE clause, or consider changing the value of the configuration parameter maxPartitionNumPerQuery.'
按天和ID分区,一天60个ID分区,select * from td where date=2022.09.06 提示涉及分区过多。jupyter里print(t1.where("date=2022.09.06").toDF())同样问题。
另外,maxPartitionNumPerQuery参数在哪里设置呢?
请先 登录 后评论

最佳答案 2022-12-10 11:16

分区字段是date吗?请用schema函数显示一下库表的结构。

单节点模式maxPartitionNumPerQuery 在dolphindb.cfg中配置。


请先 登录 后评论

其它 0 个回答