You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 16:10:53 UTC
[GitHub] [beam] kennknowles opened a new issue, #18032: Swap to using CoGBK as grouping primitive instead of GBK
kennknowles opened a new issue, #18032:
URL: https://github.com/apache/beam/issues/18032
The intent is for the semantics of both GBK and CoGBK to be
unchanged, just swapping their status as primitives.
CoGBK is a more powerful operator then GBK allowing for two key benefits:
1) SDKs are simplified: transforming a CoGBK into a GBK is trivial while the reverse is not.
2) It will be easier for runners to provide more efficient implementations of CoGBK as they will be responsible for the logic which takes their own internal grouping implementation and maps it onto a CoGBK.
This requires the following modifications to the Beam code base:
1) Make GBK a composite transform in terms of CoGBK.
2) Move the CoGBK from contrib to runners-core as an adapter*. Runners that more naturally support GBK can just use this and everything executes exactly as before.
*just like GroupByKeyViaGroupByKeyOnly and UnboundedReadFromBoundedSource
Imported from Jira [BEAM-490](https://issues.apache.org/jira/browse/BEAM-490). Original Jira may contain additional context.
Reported by: lcwik.
--
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@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org