Performance Regression in Sorting between 1.9.0 and 1.12.0 #19559
Labels
accepted
Ready for implementation
bug
Something isn't working
P-high
Priority: high
python
Related to Python Polars
regression
Issue introduced by a new release
Checks
Reproducible example
Uploaded as a .txt file, but its really a .parquet just rename it
output2.txt
Log output
No response
Issue description
In version in 1.9.0 this takes very little time 27ms for the sort, but in version 1.12 it takes > 2 seconds on my laptop, the initial sort is needed for the bug to show up - I am currently using u64-idx, but I doubt it makes a difference
If instead of selecting an array of list column at the beginning I instead selected a array of int column the sorting speed difference disappears
Expected behavior
The timing should still be really fast in the ms range not in seconds
Installed versions
The text was updated successfully, but these errors were encountered: