HyukjinKwon commented on code in PR #44294:
URL: https://github.com/apache/spark/pull/44294#discussion_r1437929666


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowConverters.scala:
##########
@@ -92,6 +92,9 @@ private[sql] object ArrowConverters extends Logging {
     private val root = VectorSchemaRoot.create(arrowSchema, allocator)
     protected val unloader = new VectorUnloader(root)
     protected val arrowWriter = ArrowWriter.create(root)
+    private var _lastBatchRowCount: Long = -1L

Review Comment:
   Let's name it `rowCountInLastBatch` to be consistent with 
`ArrowBatchWithSchemaIterator` below.



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