https://github.com/apache/spark
Revision 25b97589e32ddc424df500059cd9962eb1b2fa6b authored by Tathagata Das on 13 December 2016, 22:14:25 UTC, committed by Tathagata Das on 13 December 2016, 22:15:15 UTC
## What changes were proposed in this pull request?

- Changed `StreamingQueryProgress.watermark` to `StreamingQueryProgress.queryTimestamps` which is a `Map[String, String]` containing the following keys: "eventTime.max", "eventTime.min", "eventTime.avg", "processingTime", "watermark". All of them UTC formatted strings.

- Renamed `StreamingQuery.timestamp` to `StreamingQueryProgress.triggerTimestamp` to differentiate from `queryTimestamps`. It has the timestamp of when the trigger was started.

## How was this patch tested?

Updated tests

Author: Tathagata Das <tathagata.das1565@gmail.com>

Closes #16258 from tdas/SPARK-18834.

(cherry picked from commit c68fb426d4ac05414fb402aa1f30f4c98df103ad)
Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
1 parent f672bfd
History
Tip revision: 25b97589e32ddc424df500059cd9962eb1b2fa6b authored by Tathagata Das on 13 December 2016, 22:14:25 UTC
[SPARK-18834][SS] Expose event time stats through StreamingQueryProgress
Tip revision: 25b9758

README.md

back to top