You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For count(*), we will read handle column, and the data was transform to ColumnConst(Int64 pass to Aggregator. However, Aggregator can not handle ColumnConst well, so Aggregator will fill the ColumnConst again, which cause calling too many ColumnConst::convertToFullColumnIfConst. cc @windtalker
Enhancement
With fast mode enabled, the performance of using
count(*)
is slower thancount(int_column)
.And normal mode has the similar issue:
Know slow points: for count(*),
Aggregator::prepareAggregateInstructions
calls too manyColumnConst::convertToFullColumnIfConst
Scema:
The text was updated successfully, but these errors were encountered: