apache / apache/beam

Implement combine with context in new spark runner

Open
#19,873 0 comments 0 reactions 0 assignees View on GitHub
bug P3 runners spark structured-streaming
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
205

Description

Validates runner tests below fail in spark structured streaming runner because combine with context (for side inputs) is not implemented:
'org.apache.beam.sdk.transforms.CombineFnsTest.testComposedCombineWithContext''org.apache.beam.sdk.transforms.CombineTest$CombineWithContextTests.testSimpleCombineWithContext''org.apache.beam.sdk.transforms.CombineTest$CombineWithContextTests.testSimpleCombineWithContextEmpty''org.apache.beam.sdk.transforms.CombineTest$WindowingTests.testFixedWindowsCombineWithContext''org.apache.beam.sdk.transforms.CombineTest$WindowingTests.testSessionsCombineWithContext''org.apache.beam.sdk.transforms.CombineTest$WindowingTests.testSlidingWindowsCombineWithContext'

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

Contributor guide

Open the contributing guide

Research direction

Start by running the listed CombineFnsTest, CombineTest$CombineWithContextTests, and CombineTest$WindowingTests cases against the Spark structured streaming runner. Read the runner's existing combine support and use these failures to locate the missing context handling; done means all six named tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
distributed-systems, stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.