Skip to content

Commit

Permalink
Addressed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Nov 29, 2016
1 parent aa8af9c commit c11d2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def lastProgress(self):
Returns the most recent :class:`StreamingQueryProgress` update of this streaming query.
:return: a map
"""
return json.loads(self._jsq.lastProgress().toString())
return json.loads(self._jsq.lastProgress().json())

@since(2.0)
def processAllAvailable(self):
Expand Down

0 comments on commit c11d2e5

Please sign in to comment.