Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand metadata to be able to track multi-column and group sort status + add lazyframe method to check whether a group or multicolumns are sorted #15325

Open
kszlim opened this issue Mar 27, 2024 · 0 comments
Labels
A-other Area: not covered by other areas enhancement New feature or an improvement of an existing feature

Comments

@kszlim
Copy link
Contributor

kszlim commented Mar 27, 2024

Description

It would be nice to have the query plan also keep track of whether specific groups are sorted or not. I could see something like.

ldf.set_sorted(pl.col('a').over('b', 'c'))

And having a method like:

ldf = ldf.check_sorted(pl.col('a').over('b', 'c'))
ldf.collect() # this will return the original ldf, but will throw the group is unsorted.
@kszlim kszlim added the enhancement New feature or an improvement of an existing feature label Mar 27, 2024
@stinodego stinodego added the A-other Area: not covered by other areas label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-other Area: not covered by other areas enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants