We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AggregateExprBuilder
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
This looks very similar to https://docs.rs/datafusion/latest/datafusion/physical_expr/aggregate/struct.AggregateExprBuilder.html#method.distinct
Though it seems like that structure has no good example, perhaps you could make a PR to add an doc example of how to use it
Originally posted by @alamb in #14413 (comment)
The idea is to add some examples in the rust API documentation showing how to create expressions like
first_value(a ORDER BY x)
Using the AggregateExprBuilder
Something like this (not quite the actual syntax)
let agg_expr = AggregateExprBuilder::new(first_value_udf()) .args(col("a") .order_by(..) .build()?
The text was updated successfully, but these errors were encountered:
ARRAY_AGG
take
Sorry, something went wrong.
@alamb should I add this example to datafusion-examples as well? as per #15504 (comment)
Shreyaskr1409
Successfully merging a pull request may close this issue.
Though it seems like that structure has no good example, perhaps you could make a PR to add an doc example of how to use it
Originally posted by @alamb in #14413 (comment)
The idea is to add some examples in the rust API documentation showing how to create expressions like
first_value(a ORDER BY x)
Using the AggregateExprBuilder
Something like this (not quite the actual syntax)
The text was updated successfully, but these errors were encountered: