SuccessChanges

Summary

  1. [SPARK-25674][SQL] If the records are incremented by more than 1 at a (commit: 5324a85a2fb0d632dff028c7d1d2ea8a4ead94f4) (details)
Commit 5324a85a2fb0d632dff028c7d1d2ea8a4ead94f4 by sean.owen
[SPARK-25674][SQL] If the records are incremented by more than 1 at a
time,the number of bytes might rarely ever get updated
## What changes were proposed in this pull request? If the records are
incremented by more than 1 at a time,the number of bytes might rarely
ever get updated,because it might skip over the count that is an exact
multiple of UPDATE_INPUT_METRICS_INTERVAL_RECORDS.
This PR just checks whether the increment causes the value to exceed a
higher multiple of UPDATE_INPUT_METRICS_INTERVAL_RECORDS.
## How was this patch tested? existed unit tests
Closes #22594 from 10110346/inputMetrics.
Authored-by: liuxian <liu.xian3@zte.com.cn> Signed-off-by: Sean Owen
<sean.owen@databricks.com>
(cherry picked from commit 69f5e9cce14632a1f912c3632243a4e20b275365)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(commit: 5324a85a2fb0d632dff028c7d1d2ea8a4ead94f4)
The file was modifiedsql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileScanRDD.scala (diff)