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

chore(rust): Rename lazy-regex feature to regex to align polars with polars-lazy crate #13647

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

stinodego
Copy link
Contributor

Closes #11178

Supersedes #11897

The feature is named regex in the polars-lazy crate, but it is named lazy_regex in the main polars crate. This can understandably lead to confusion when users read the lazy docs and see a feature is available under "regex", yet that feature is not available on the main crate.

This aligns the feature names under regex, which I feel is fine (no need for the lazy prefix).

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Jan 11, 2024
@stinodego stinodego marked this pull request as ready for review January 11, 2024 18:10
@stinodego stinodego changed the title chore(rust): Rename lazy-regex feature to regex to match polars-lazy crate chore(rust): Rename lazy-regex feature to regex to align polars with polars-lazy crate Jan 11, 2024
@ritchie46
Copy link
Member

Yes, originally there was a difference with the feature for column expansion and regex for regex related expressions. But seems fine to me to cluster it.

@stinodego stinodego merged commit 8a41b8e into main Jan 12, 2024
30 checks passed
@stinodego stinodego deleted the rename-lazy-regex-feature branch January 12, 2024 07:51
r-brink pushed a commit to r-brink/polars that referenced this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

regex feature is not named correctly in docs.rs
2 participants