viirya commented on code in PR #890:
URL: https://github.com/apache/datafusion-comet/pull/890#discussion_r1737638473


##########
common/src/main/scala/org/apache/spark/sql/comet/util/Utils.scala:
##########
@@ -215,12 +215,8 @@ object Utils {
       val writer = new ArrowStreamWriter(root, provider, 
Channels.newChannel(out))
       writer.start()
       writer.writeBatch()
-
       root.clear()
-      writer.end()
-
-      out.flush()
-      out.close()
+      writer.close()

Review Comment:
   Yea, maybe there was some other changes before. Anyway it is good to close 
the writer without issue.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to