GitHub user tejasapatil opened a pull request:

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

    [WIP] [SPARK-17487] [SQL] Configuragble bucketing info extraction

    ## What changes were proposed in this pull request?
    
    I am looking for early feedback about this change wrt approach.
    
    Here is what this PR contains:
    - Introduced `BucketingInfoExtractor` which has functions for 
     - extract bucket id from a given filename
     - given bucket id and other info, generate the filename
    - `BucketingInfoExtractor` is a part of `BucketSpec` since the same session 
can process native Spark tables and pure Hive tables
    - Provided a default impl which adheres with Spark's current naming scheme
    - All codepaths which write a file now use the `BucketingInfoExtractor` to 
get a filename as per the bucketing scheme
    
    TODO
    - Get rid of `BucketingUtils` completely
    - Introduce impl for Hive
    - Add tests
    
    
    ## How was this patch tested?
    
    TODO
    
    


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

    $ git pull https://github.com/tejasapatil/spark custom_bucketing

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

    https://github.com/apache/spark/pull/15040.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 #15040
    
----
commit fcf37f7d89b16e8bb4589e519a516b351eb650b8
Author: Tejas Patil <tej...@fb.com>
Date:   2016-08-31T00:26:09Z

    Configuragble bucketing info extraction

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to