Skip to content

[Bug]: AssignContext for window mapping fn is missing source window when using side inputs #36719

@alexmalao1

Description

@alexmalao1

What happened?

When using default_window_mapping_fn in sideinputs.py for mapping windows, the target window fn is given an AssignContext that is missing the source window.

For all timestamp based windows functions, this is not an issue because the window function uses the timestamp. For any custom non-timed based window functions, the windowing function should require the source window.

See

def map_via_end(source_window: window.BoundedWindow) -> window.BoundedWindow:

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions