Martin
07/17/2023, 9:57 AMAggregate pushdown into Delta scan for SELECT COUNT(). Aggregation queries such as `SELECT COUNT()` on Delta tables are satisfied using file-level row counts in Delta table metadata rather than counting rows in the underlying data files. This significantly reduces the query time as the query just needs to read the table metadata and could make full table count queries faster by 10-100x.Does this also works when running
SELECT COUNT(*) FROM my_table WHERE partition_column = 1
if my_table
is partitioned by partition_column
?Itai Yaffe
07/17/2023, 10:16 AMMAX(partition_column)
Martin
07/17/2023, 11:28 AMCOUNT(*)
on the entire table. 🙁
Would this be worth a feature request? I'm no scala developer but I can describe what the feature should do.Dominique Brezinski
07/17/2023, 1:56 PMFelipe Pessoto
07/18/2023, 2:41 AMItai Yaffe
07/18/2023, 12:58 PMGerhard Brueckl
07/18/2023, 2:33 PMItai Yaffe
07/24/2023, 11:55 AM