Abacn commented on PR #39043:
URL: https://github.com/apache/beam/pull/39043#issuecomment-5064077312
It seems this breaks coder inferences in tests: #35514
```
java.lang.IllegalStateException: Unable to return a default Coder for
BeamSortRel_28989/WithDummyKey/AddKeys/Map/ParMultiDo(Anonymous).output
[PCollection@426526029]. Correct one of the following root causes:
No Coder has been manually specified; you may do so using .setCoder().
Inferring a Coder from the CoderRegistry failed: Cannot provide coder for
parameterized type org.apache.beam.sdk.values.KV<java.lang.String,
org.apache.beam.sdk.values.Row>: Cannot provide a coder for a Beam Row. Please
provide a schema instead using PCollection.setRowSchema.
Using the default output Coder from the producing PTransform failed:
PTransform.getOutputCoder called.
at
org.apache.beam.sdk.util.Preconditions.checkStateNotNull(Preconditions.java:499)
at org.apache.beam.sdk.values.PCollection.getCoder(PCollection.java:282)
at
org.apache.beam.sdk.values.PCollection.finishSpecifying(PCollection.java:113)
at
org.apache.beam.sdk.runners.TransformHierarchy.finishSpecifyingInput(TransformHierarchy.java:154)
at org.apache.beam.sdk.Pipeline.applyInternal(Pipeline.java:558)
at org.apache.beam.sdk.Pipeline.applyTransform(Pipeline.java:507)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]