-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Refactor regexplike signature #13394
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
@jayzhan211, I made some progress first for the |
You can use signature: Signature::one_of(
vec![
TypeSignature::String(2),
TypeSignature::String(3)
],
Volatility::Immutable,
), |
@jayzhan211 thanks for the reply! I mark this as ready for review. |
You can run |
2968fa3
to
3b0c412
Compare
There appears to be a CI test failure in the examples were some queries no longer work |
Thank you for this contribution @jiashenC |
I think the CI failures are a type casting issue. There are two rows in the example that have
Input data for the example: https://github.com/apache/datafusion/blob/main/datafusion/physical-expr/tests/data/regex.csv |
Marking as draft as I think this PR is no longer waiting on feedback. Please mark it as ready for review when it is ready for another look I am trying to make the review backlog easier to understand |
(sorry I accidnetally closed the PR) |
3b0c412
to
1c18eff
Compare
1c18eff
to
2e30074
Compare
* update * update * update * clean up errors * fix flags types * fix failed example
* update * update * update * clean up errors * fix flags types * fix failed example
Which issue does this PR close?
Close some tasks in #13301.
What changes are included in this PR?
Simplify function signature.
Are these changes tested?
Added more tests for implicit casting.
Are there any user-facing changes?
No