Skip to content

[Bug]: Prism overwrites coders while handling flatten #34587

@shunping

Description

@shunping

What happened?

When handling flatten, prism overwrites the coders of its input pcollections with the flatten's output coder by changing the coder mapping(coder id -> coder proto). In this case, if the same coder id is also referred by a separate pcollection that has nothing to do with the flatten, the underlying coder proto for this pcollection is also changed.

https://github.com/apache/beam/blob/release-2.64/sdks/go/pkg/beam/runners/prism/internal/handlerunner.go#L115

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

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions