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
We do calculate the row count for aggregations and this is important for CBO. The reason why it didn't work in #3109 is -- i am guessing -- because of partial aggregations.
A potential solution could be disabling partial aggregations when planning for SHOW STATS.
findepi
changed the title
Calculate row count statistic for aggregations
Show stats for aggregation queries in SHOW STATS
Dec 14, 2020
Currently (after #3109, see
TestShowStats
):However, we should be able to the row count as NDV of columns are known.
The text was updated successfully, but these errors were encountered: