GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/22380
[SPARK-25278][SQL][followup] remove the hack in ProgressReporter
## What changes were proposed in this pull request?
It turns out it's a bug that a `DataSourceV2ScanExec` instance may be
referred to in the execution plan multiple times. This bug is fixed by
https://github.com/apache/spark/pull/22284 and now we have corrected SQL
metrics for batch queries.
Thus we don't need the hack in `ProgressReporter` anymore.
## How was this patch tested?
existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark followup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22380.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 #22380
----
commit ee0df170cd632d3b56f27ee718c8a6026f7f59b9
Author: Wenchen Fan <wenchen@...>
Date: 2018-09-10T12:19:15Z
remove the hack in ProgressReporter
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]