GitHub user arunmahadevan opened a pull request:
https://github.com/apache/spark/pull/21490
SPARK-24462: Initialize the offsets correctly when restarting a query with
saved state
## What changes were proposed in this pull request?
Initialize the `currentOffset` and `lastOffsetCommitted` correctly when the
query is restarted with saved state (startOffset has some value)
## How was this patch tested?
existing unit tests
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arunmahadevan/spark SPARK-24462
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21490.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21490
----
commit c5ff731f2172b52fd1b42fa40ba38d564d203434
Author: Arun Mahadevan <arunm@...>
Date: 2018-06-04T17:38:14Z
SPARK-24462: Initialize the offsets correctly when restarting a query with
saved state
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]