-
Notifications
You must be signed in to change notification settings - Fork 174
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
feat: Add support for RLike #469
Conversation
// TODO waiting for arrow-rs update | ||
// case RLike(left, right) => |
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.
I forgot the details. I remember this was added by someone at the early development. Not sure if we have anything update in arrow-rs for it.
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.
I did look at arrow-rs and there is support there but it seems to have more logic than we need (including some postgres compatibility).
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.
cc @snmvaughan
Could I get more feedback on this PR @parthchandra @kazuyukitanimura @huaxingao |
} else { | ||
// this should be unreachable because Spark will evaluate regex expressions against | ||
// literal strings as part of query planning | ||
Err(CometError::Internal("Only columnar inputs are supported".to_string()).into()) |
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.
Is it possible to encounter dictionary type?
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.
Good point. Yes, it probably is.
Which issue does this PR close?
N/A
Rationale for this change
Regular expression support is usually important in ETL jobs, so we should start adding support.
What changes are included in this PR?
Add support for RLike.
How are these changes tested?
New test.