[
https://issues.apache.org/jira/browse/BEAM-11303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Hulette updated BEAM-11303:
---------------------------------
Description:
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.
> 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
> 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)