apache / apache/beam

Support SortValues GroupByKey extension

Open
#18,802 0 comments 0 reactions 0 assignees View on GitHub
go improvement P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

A port of the Java [SortValues](https://beam.apache.org/documentation/sdks/java-extensions/) extension would be helpful in the Go SDK.

Brief summary of the extension: for a GroupByKey or CoGroupByKey operation, allow the user to specify that the value streams per key should be sorted (either by their byte encoding or by a secondary sort key) upon delivery the user's ParDo.

Imported from Jira [BEAM-4405](https://issues.apache.org/jira/browse/BEAM-4405). Original Jira may contain additional context.
Reported by: schroederc.

Contributor guide

Open the contributing guide

Research direction

Start with the Go SDK's GroupByKey and CoGroupByKey entry points, then compare the Java SortValues extension linked in the issue and consult the imported BEAM-4405 context. Define how byte-encoding and secondary-key ordering should be exposed and delivered to ParDo users; done means the behavior is implemented and covered for both grouping operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, java
Domain
data-engineering, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.