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

Roundtrip flags with parquet #6194

Open
gab23r opened this issue Jan 12, 2023 · 2 comments
Open

Roundtrip flags with parquet #6194

gab23r opened this issue Jan 12, 2023 · 2 comments
Labels
enhancement New feature or an improvement of an existing feature

Comments

@gab23r
Copy link
Contributor

gab23r commented Jan 12, 2023

Problem description

I wish I flags could roundtrip with parquet ex:

(
    pl.DataFrame({'A' : [1,2,3]})
    .with_columns(pl.col('A').set_sorted())
    .write_parquet('tmp.parquet')
)

pl.read_parquet('tmp.parquet')['A'].flags 
# Today: {'SORTED_ASC': False, 'SORTED_DESC': False}
# Wish: {'SORTED_ASC': True, 'SORTED_DESC': False}
@gab23r gab23r added the enhancement New feature or an improvement of an existing feature label Jan 12, 2023
@ancher1912
Copy link

This would indeed be a very nice feature.

@coastalwhite
Copy link
Collaborator

Part of this was addressed by #19251 and the other part will be addressed by #19263.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants