GitHub user wzhfy opened a pull request:
https://github.com/apache/spark/pull/16594
[SPARK-17078] [SQL] Show stats when explain
## What changes were proposed in this pull request?
Currently we can only check the estimated stats in logical plans by
debugging. We need to provide an easier and more efficient way for
developers/users.
In this pr, we add an internal conf, when it's true, we can check the stats
by explain extended command.
## How was this patch tested?
Add test case.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wzhfy/spark showStats
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16594.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 #16594
----
commit c3489fcad32caa1d6a9b7182e387a46aae5710fa
Author: wangzhenhua <[email protected]>
Date: 2017-01-16T07:24:23Z
show stats in explain command
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]