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
This is something which I think isn't quite right in the Polars repo either (and I've flagged it there too)
I think there's a few cases where operations are written in different orders - as dataframe libraries move towards query optimisation (🥳 ), I think it becomes more important that things be written in the same order, so that it's up to the query optimiser to reorder things
In Q5, the pandas API version is written as "filter, filter, merge, merge, merge, merge, merge"
Granted, all benchmarks are wrong, just flagging it in case it can help improve Dask's query optimiser (especially if there's a chance that it'll end up powering pandas too 💪 )
The text was updated successfully, but these errors were encountered:
Thanks! This is still from the benchmarks that we copied over from Polars (so that's the reason for the same ordering as over there). We have a bunch of cases in the queries that we wrote ourselves that push filters around, so not super worried functionality wise here.
We should adjust this anyway (feel free to open a PR if you're interested :)), but not super high priority for me personally
Hey
This is something which I think isn't quite right in the Polars repo either (and I've flagged it there too)
I think there's a few cases where operations are written in different orders - as dataframe libraries move towards query optimisation (🥳 ), I think it becomes more important that things be written in the same order, so that it's up to the query optimiser to reorder things
In Q5, the pandas API version is written as "filter, filter, merge, merge, merge, merge, merge"
benchmarks/tests/tpch/dask_queries.py
Lines 177 to 189 in f9eda14
whereas the Polars one is written as "join, join, join, join, join, filter, filter"
benchmarks/tests/tpch/test_polars.py
Lines 192 to 202 in f9eda14
Likewise in a few others
Granted, all benchmarks are wrong, just flagging it in case it can help improve Dask's query optimiser (especially if there's a chance that it'll end up powering pandas too 💪 )
The text was updated successfully, but these errors were encountered: