GitHub user cloud-fan opened a pull request:

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

    [SPARK-12853][SQL] ignore bucketing information if we do not need it

    The idea is: use a place holder for `LogicalRelation` that can delay the 
scan and carry bucketing information, during planning. Then we add a rule to 
randomly pick one place holder from the physical plan, try to disable bucketing 
and see if we will add extra shuffle. If no extra shuffle is added, it means 
the bucketing for this relation is unnecessary, we can ignore it and do a 
normal scan. If extra shuffle is added, we do a bucket scan.

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

    $ git pull https://github.com/cloud-fan/spark bucket-read-enhance

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

    https://github.com/apache/spark/pull/10793.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 #10793
    
----
commit 45a8be3cfd23c44b47715bfe9021f3e73d1d1ded
Author: Wenchen Fan <[email protected]>
Date:   2016-01-17T09:19:34Z

    ignore bucketing information if we do not need it

----


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