my sql is :
select * from xxx where dt (this is my partition key) = '2023-03-09' ,
the database has not value , so I think this sql will complete quickly but not.
I found the filter message is :
Pushing operators to label_platform.ch_label_crowd_export
Pushed Filters: EqualTo(dt,2023-03-09)
Post-Scan Filters:
and total tasks count is : 1124
I think best performance tasks total should be 1 task because I have no data in dt = '2023-03-09'
that's a good point, we can collect more metrics during the planning phase, and eliminate task assignments for those partitions which do not contain any data.
dependency:
my sql is : select * from xxx where dt (this is my partition key) = '2023-03-09' , the database has not value , so I think this sql will complete quickly but not. I found the filter message is :
Pushing operators to
label_platform
.ch_label_crowd_export
Pushed Filters: EqualTo(dt,2023-03-09) Post-Scan Filters:and total tasks count is : 1124 I think best performance tasks total should be 1 task because I have no data in dt = '2023-03-09'