You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/11/29 10:15:35 UTC
[GitHub] [arrow] Crystrix commented on pull request #10486: ARROW-13016: [C++][Compute] Support Null type in Sum/Mean aggregation
Crystrix commented on pull request #10486:
URL: https://github.com/apache/arrow/pull/10486#issuecomment-981491528
This PR is rebased with the master branch and updated.
- The MinMax of null type is supported now, so it's removed in this PR.
- The sum of an empty array or `min_count == 0` returns an int64 scalar of 0, otherwise return a null scalar
- The mean of an empty array or `min_count == 0` returns a double scalar of 0, otherwise return a double scalar of null value
I am not sure how to return different types of data, so I skipped the type checking.
@jorisvandenbossche @pitrou @bkietz Could you please help to review?
--
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.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org