aglinxinyuan commented on code in PR #8506:
URL: https://github.com/apache/texera/pull/8506#discussion_r4476680829


##########
amber/src/main/scala/org/apache/texera/amber/engine/architecture/worker/promisehandlers/EndChannelHandler.scala:
##########
@@ -40,6 +40,9 @@ trait EndChannelHandler {
     val portId = dp.inputGateway.getChannel(channelId).getPortId
     dp.inputManager.getPort(portId).completed = true
     dp.inputManager.initBatch(channelId, Array.empty)
+    // Before the operator finishes the port, so one that received no rows on
+    // it can still say what its columns were.

Review Comment:
   Remove the comment or fix the language. The comment is harder to understand 
than the code itself here.



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