Skip to content

Commit fa0092b

Browse files
jaceklaskowskizsxwing
authored andcommitted
[SPARK-21901][SS] Define toString for StateOperatorProgress
## What changes were proposed in this pull request? Just `StateOperatorProgress.toString` + few formatting fixes ## How was this patch tested? Local build. Waiting for OK from Jenkins. Author: Jacek Laskowski <[email protected]> Closes #19112 from jaceklaskowski/SPARK-21901-StateOperatorProgress-toString.
1 parent acdf45f commit fa0092b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/streaming/progress.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ class StateOperatorProgress private[sql](
5555
("numRowsUpdated" -> JInt(numRowsUpdated)) ~
5656
("memoryUsedBytes" -> JInt(memoryUsedBytes))
5757
}
58+
59+
override def toString: String = prettyJson
5860
}
5961

6062
/**

0 commit comments

Comments
 (0)