diff options
author | Michael Armbrust <michael@databricks.com> | 2016-12-07 15:36:29 -0800 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2016-12-07 15:36:29 -0800 |
commit | 70b2bf717d367d598c5a238d569d62c777e63fde (patch) | |
tree | 340f28fa9c4072d237ebc10097e5d2c69142b555 /external/kafka-0-10-sql/src | |
parent | edc87e18922b98be47c298cdc3daa2b049a737e9 (diff) | |
download | spark-70b2bf717d367d598c5a238d569d62c777e63fde.tar.gz spark-70b2bf717d367d598c5a238d569d62c777e63fde.tar.bz2 spark-70b2bf717d367d598c5a238d569d62c777e63fde.zip |
[SPARK-18754][SS] Rename recentProgresses to recentProgress
Based on an informal survey, users find this option easier to understand / remember.
Author: Michael Armbrust <michael@databricks.com>
Closes #16182 from marmbrus/renameRecentProgress.
Diffstat (limited to 'external/kafka-0-10-sql/src')
-rw-r--r-- | external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala b/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala index 0e40abac65..544fbc5ec3 100644 --- a/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala +++ b/external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSourceSuite.scala @@ -448,7 +448,7 @@ class KafkaSourceSuite extends KafkaSourceTest { AddKafkaData(Set(topic), 1, 2, 3), CheckAnswer(2, 3, 4), AssertOnQuery { query => - val recordsRead = query.recentProgresses.map(_.numInputRows).sum + val recordsRead = query.recentProgress.map(_.numInputRows).sum recordsRead == 3 } ) |