You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/11/18 21:10:00 UTC
[jira] [Assigned] (BEAM-11303) DataFrame GroupBy().size()
aggregation produces incorrect results
[ https://issues.apache.org/jira/browse/BEAM-11303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Hulette reassigned BEAM-11303:
------------------------------------
Assignee: Brian Hulette
> DataFrame GroupBy().size() aggregation produces incorrect results
> -----------------------------------------------------------------
>
> Key: BEAM-11303
> URL: https://issues.apache.org/jira/browse/BEAM-11303
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Affects Versions: 2.25.0
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P2
>
> size is treated as a liftable aggregation which assumes it is commutative and associative, but it's not actually commutative. It can be lifted, but the post agg step needs to be a sum.
> This means the size aggregation will produce incorrect results.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)