polars
polars copied to clipboard
perf: fast path for COUNT(*) queries
This implements a specialized Count
function in our logical plan which does not materialize the entire dataframe when performing COUNT(*)
from a data source.
fix #13521
Codecov Report
Attention: Patch coverage is 95.74468%
with 12 lines
in your changes are missing coverage. Please review.
Project coverage is 80.93%. Comparing base (
00e84fc
) to head (1f59ce6
).
Additional details and impacted files
@@ Coverage Diff @@
## main #14574 +/- ##
==========================================
+ Coverage 80.81% 80.93% +0.11%
==========================================
Files 1326 1328 +2
Lines 173208 173446 +238
Branches 2455 2455
==========================================
+ Hits 139976 140373 +397
+ Misses 32759 32601 -158
+ Partials 473 472 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@ritchie46 , could you have a final look at the parallel csv part. If that was what you meant
Finally optimized the most run query in the world. :sunglasses: