-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Port regexp_replace functions and related tests #9454
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @Lordworms -- thank you and congratulations on being the first to remove one of the modules from datafusion-physical-expressions 🏆
| itertools = { workspace = true } | ||
| log = { workspace = true } | ||
|
|
||
| regex = { version = "1.8" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is only needed for the regular expressions, I think we can mark it optional like
| regex = { version = "1.8" } | |
| regex = { version = "1.8", optional = true } |
And then change this above from
regex_expressions = []to
regex_expressions = ["regex"]I'll do this in a follow on PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| mod partitioning; | ||
| mod physical_expr; | ||
| pub mod planner; | ||
| #[cfg(feature = "regex_expressions")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Which issue does this PR close?
Closes #9328
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?