andygrove opened a new pull request #7988:
URL: https://github.com/apache/arrow/pull/7988
This is a step towards cleaning up the handling of aggregate expressions and
acheives the following:
- It is now possible to construct a logical aggregate expression without
specifying a return data type, so we can now just say `min(col("foo"))` for
example.
- Removes the aggregate function methods from the `DataFrame` trait since
they are no longer needed
- Removes duplicate logic from `expr_to_field` that was determining the data
type of expressions rather than just calling `expr.get_type`
- Removes hard-coded return types from tests
- Adds the new min, max, avg, count, sum functions to prelude.rs
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]