aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-12-14 13:36:41 -0800
committerShixiong Zhu <shixiong@databricks.com>2016-12-14 13:36:41 -0800
commit1ac6567bdb03d7cc5c5f3473827a102280cb1030 (patch)
treebe8018d4e321c590298727fdc73369c3dfcbbd71 /mllib
parent5d799473696a15fddd54ec71a93b6f8cb169810c (diff)
downloadspark-1ac6567bdb03d7cc5c5f3473827a102280cb1030.tar.gz
spark-1ac6567bdb03d7cc5c5f3473827a102280cb1030.tar.bz2
spark-1ac6567bdb03d7cc5c5f3473827a102280cb1030.zip
[SPARK-18852][SS] StreamingQuery.lastProgress should be null when recentProgress is empty
## What changes were proposed in this pull request? Right now `StreamingQuery.lastProgress` throws NoSuchElementException and it's hard to be used in Python since Python user will just see Py4jError. This PR just makes it return null instead. ## How was this patch tested? `test("lastProgress should be null when recentProgress is empty")` Author: Shixiong Zhu <shixiong@databricks.com> Closes #16273 from zsxwing/SPARK-18852.
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions