GitHub user cloud-fan opened a pull request:

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

    [SPARK-22252][SQL][followup] Command should not be a LeafNode

    ## What changes were proposed in this pull request?
    
    #19474 partially reverted #18064 but accidentally introduced a behavior 
change. `Command` extended `LogicalPlan` before #18064 , but #19474 made it 
extend `LeafNode`. This is an internal behavior change as now all `Command` 
subclasses can't define children, and they have to implement `computeStatistic` 
method.
    
    This PR fixes this by making `Command` extend `LogicalPlan`
    
    ## How was this patch tested?
    
    N/A

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

    $ git pull https://github.com/cloud-fan/spark minor

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

    https://github.com/apache/spark/pull/19493.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 #19493
    
----
commit 03cd40ac92634f99a5553d1b367a357780800355
Author: Wenchen Fan <wenc...@databricks.com>
Date:   2017-10-13T15:00:38Z

    Command should not be a LeafNode

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to