Skip to content

Conversation

@Weijun-H
Copy link
Member

Which issue does this PR close?

Closes #9726

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 the sql SQL Planner label Mar 26, 2024
@Weijun-H Weijun-H changed the title ExprLike to sql Expr Like to sql Mar 26, 2024
@alamb alamb changed the title Expr Like to sql Support Expr Like to sql Mar 27, 2024
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.

Looks good to me - thank you @Weijun-H

r#"dummy_udf("a", "b")"#,
),
(
Expr::Like(Like {
Copy link
Contributor

Choose a reason for hiding this comment

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

I was going to suggest using https://docs.rs/datafusion/latest/datafusion/logical_expr/enum.Expr.html#method.like but I think that doesn't allow setting esape_char. This looks good to me.

@alamb alamb merged commit 0b11d14 into apache:main Mar 27, 2024
Lordworms pushed a commit to Lordworms/arrow-datafusion that referenced this pull request Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete support for Expr --> String

2 participants