wonook commented on a change in pull request #281: [NEMO-437] Support Java 
version 11
URL: https://github.com/apache/incubator-nemo/pull/281#discussion_r374484208
 
 

 ##########
 File path: 
compiler/frontend/beam/src/main/java/org/apache/nemo/compiler/frontend/beam/PipelineTranslator.java
 ##########
 @@ -443,6 +442,12 @@ private static AbstractDoFnTransform 
createDoFnTransform(final PipelineTranslati
         
Iterables.getOnlyElement(TransformInputs.nonAdditionalInputs(pTransform));
 
       final HasDisplayData displayData = (builder) -> 
builder.add(DisplayData.item("name", beamNode.getFullName()));
+      final DoFnSchemaInformation doFnSchemaInformation;
+      if (ctx.getCurrentTransform() != null) {
+        doFnSchemaInformation = 
ParDoTranslation.getSchemaInformation(ctx.getCurrentTransform());
+      } else {
+        doFnSchemaInformation = DoFnSchemaInformation.create();
 
 Review comment:
   Handled.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to