-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Prototype implementing DataFusion functions / operators using arrow-udf liibrary #11488
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 is very cool @xinlifoobar -- thank you
use datafusion_expr::ColumnarValue; | ||
// use arrow_string::predicate::Predicate; | ||
|
||
#[function("eq(boolean, boolean) -> boolean")] |
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 is pretty neat
format!("{}{}", lhs, rhs) | ||
} | ||
|
||
pub fn apply_udf( |
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 is the code that adapts ColumnarValue
to being able to call the arrow-udf
based functions via a record batch, right?
I will leave comments on #11413 |
Hello, everyone. Exciting news: arrow-udf now belongs to a new organization called cc @xinlifoobar and @alamb |
Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days. |
Which issue does this PR close?
Closes #11413
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?