Skip to content

Commit

Permalink
[SPARK-21901][SS] Define toString for StateOperatorProgress
Browse files Browse the repository at this point in the history
## 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 <jacek@japila.pl>

Closes #19112 from jaceklaskowski/SPARK-21901-StateOperatorProgress-toString.
  • Loading branch information
jaceklaskowski authored and zsxwing committed Sep 6, 2017
1 parent acdf45f commit fa0092b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ class StateOperatorProgress private[sql](
("numRowsUpdated" -> JInt(numRowsUpdated)) ~
("memoryUsedBytes" -> JInt(memoryUsedBytes))
}

override def toString: String = prettyJson
}

/**
Expand Down

0 comments on commit fa0092b

Please sign in to comment.