Abacn commented on code in PR #25843:
URL: https://github.com/apache/beam/pull/25843#discussion_r1211686767
##########
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/ParDo.java:
##########
@@ -446,8 +446,8 @@ private static void
validateStateApplicableForInput(PCollection<?> input) {
} catch (Coder.NonDeterministicException exc) {
throw new IllegalArgumentException(
String.format(
- "%s requires a deterministic key coder in order to use state and
timers",
- ParDo.class.getSimpleName()));
+ "%s requires a deterministic key coder in order to use state and
timers, the reason is:\n\t %s",
Review Comment:
```suggestion
"%s requires a deterministic key coder in order to use state
and timers, the reason is:%n %s",
```
--
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]