advancedxy commented on code in PR #92:
URL: 
https://github.com/apache/arrow-datafusion-comet/pull/92#discussion_r1500110853


##########
spark/src/main/scala/org/apache/spark/sql/comet/operators.scala:
##########
@@ -81,7 +81,11 @@ abstract class CometExec extends CometPlan {
 
       out.flush()
       out.close()
-      Iterator((count, cbbos.toChunkedByteBuffer))
+      if (out.size() > 0) {

Review Comment:
   How about we check `count > 0` instead?



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