GitHub user wzhfy opened a pull request:

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

    [SPARK-22529] [SQL] Only sizeInBytes in catalog stats needs to be 
propagated when cbo is disabled

    ## What changes were proposed in this pull request?
    
    When CBO is disabled, we apply the size-only estimation strategy, so 
there's no need to propagate other statistics from catalog to the plan.
    
    ## How was this patch tested?
    
    Enhanced existing test case.


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

    $ git pull https://github.com/wzhfy/spark catalog_stats_conversion

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

    https://github.com/apache/spark/pull/19757.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 #19757
    
----
commit b65a153ee2dd1c7ad694e248ff22ba12d1e58970
Author: Zhenhua Wang <[email protected]>
Date:   2017-11-15T14:41:03Z

    don't propagate when cbo is off

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to