Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21312#discussion_r187787882
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowWriter.scala
---
@@ -311,6 +311,7 @@ private[arrow] class ArrayWriter(
override def reset(): Unit = {
super.reset()
elementWriter.reset()
+ valueVector.clear()
--- End diff --
I've also noticed that @BryanCutler added `reset` to `ListVector`. But we
can only use `clear` for now.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]