Skip to content

Conversation

@Lordworms
Copy link
Contributor

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?

@github-actions github-actions bot added logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates labels Mar 4, 2024
@Lordworms Lordworms marked this pull request as draft March 4, 2024 23:56
@github-actions github-actions bot added the core Core DataFusion crate label Mar 5, 2024
@Lordworms Lordworms marked this pull request as ready for review March 5, 2024 04:06
Copy link
Contributor

@alamb alamb left a 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" }
Copy link
Contributor

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

Suggested change
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

Copy link
Contributor

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")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

port reg_related function

2 participants