robertwb commented on code in PR #30488:
URL: https://github.com/apache/beam/pull/30488#discussion_r1515270765


##########
runners/flink/src/main/java/org/apache/beam/runners/flink/adapter/BeamFlinkDataSetAdapter.java:
##########
@@ -213,7 +216,8 @@ private <InputT> 
FlinkBatchPortablePipelineTranslator.PTransformTranslator flink
       // When we run into a FlinkInput operator, it "produces" the 
corresponding input as its
       // "computed result."
       String inputId = t.getTransform().getSpec().getPayload().toStringUtf8();
-      DataSet<InputT> flinkInput = Preconditions.checkNotNull( 
(DataSet<InputT>) inputMap.get(inputId));
+      DataSet<InputT> flinkInput =
+          Preconditions.checkNotNull((DataSet<InputT>) inputMap.get(inputId));

Review Comment:
   OK, I'll buy the NPE == segfault argument (though this code will probably 
never ever get hit.) Updated to use our version. 



-- 
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]

Reply via email to