Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Fix JVM R2C operator metrics (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixingheyi-tian authored Aug 15, 2022
1 parent 6661b7b commit cce191a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ case class RowToArrowColumnarExec(child: SparkPlan) extends UnaryExecNode {
val res = new Iterator[ColumnarBatch] {
private val converters = new RowToColumnConverter(localSchema)
private var last_cb: ColumnarBatch = null
private var elapse: Long = 0

override def hasNext: Boolean = {
rowIterator.hasNext
}

override def next(): ColumnarBatch = {
var elapse: Long = 0
val vectors: Seq[WritableColumnVector] =
ArrowWritableColumnVector.allocateColumns(numRows, schema)
var rowCount = 0
Expand Down

0 comments on commit cce191a

Please sign in to comment.