GitHub user scwf opened a pull request:

    https://github.com/apache/spark/pull/6144

    [SPARK-7631] [SQL] treenode argString should not print children

    spark-sql> 
    > explain extended 
    > select * from ( 
    > select key from src union all 
    > select key from src) t;
    
    now the spark plan will print children in argString
    ```
    == Physical Plan ==
    Union[ HiveTableScan key#1, (MetastoreRelation default, src, None), None,
    HiveTableScan key#3, (MetastoreRelation default, src, None), None]
    HiveTableScan key#1, (MetastoreRelation default, src, None), None
    HiveTableScan key#3, (MetastoreRelation default, src, None), None
    ```
    
    after this patch:
    ```
    == Physical Plan ==
    Union
     HiveTableScan [key#1], (MetastoreRelation default, src, None), None
     HiveTableScan [key#3], (MetastoreRelation default, src, None), None
    ```
    
    I have tested this locally

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/scwf/spark fix-argString

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6144.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 #6144
    
----
commit 76b2b82839a03ea07d844ac756c21a582c9fda4f
Author: scwf <[email protected]>
Date:   2015-05-14T09:29:39Z

    fix treenode argString

----


---
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]

Reply via email to