Skip to content

Commit c3508e9

Browse files
committed
Addressed comments
1 parent f0ce5df commit c3508e9

File tree

1 file changed

+2
-2
lines changed
  • sql/core/src/main/scala/org/apache/spark/sql/execution/streaming

1 file changed

+2
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/memory.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ case class MemoryStream[A : Encoder](id: Int, sqlContext: SQLContext)
149149
}
150150

151151
private def generateDebugString(
152-
blocks: Seq[UnsafeRow],
152+
rows: Seq[UnsafeRow],
153153
startOrdinal: Int,
154154
endOrdinal: Int): String = {
155155
val fromRow = encoder.resolveAndBind().fromRow _
156156
s"MemoryBatch [$startOrdinal, $endOrdinal]: " +
157-
s"${blocks.map(row => fromRow(row)).mkString(", ")}"
157+
s"${rows.map(row => fromRow(row)).mkString(", ")}"
158158
}
159159

160160
override def commit(end: OffsetV2): Unit = synchronized {

0 commit comments

Comments
 (0)