viirya commented on code in PR #92:
URL:
https://github.com/apache/arrow-datafusion-comet/pull/92#discussion_r1499659177
##########
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:
> I think this is due to the extra bytes being written in the encode
compressed stream, causing it to be determined not empty in
CometExec$.decodeBatches.
If there are extra bytes written, is `out.size()` 0?
--
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]