GitHub user ravipesala opened a pull request:

    https://github.com/apache/carbondata/pull/3004

    [WIP] Create carbon table as hive understandable metastore table needed by 
Presto and Hive

    Problem:
    Current carbon table created in spark creates the hive table internally but 
it does not have much information like schema, input/output format and location 
details. So other execution engines like Presto and Hive cannot read the table.
    
    Reason:
    Spark always checks in HiveSerde static map whether it is a hive supported 
table or not, since carbon is not registered to that map it cannot create hive 
understandable table. It justs creates a table without schema and location and 
adds its own schema as part of properties.
    
    Solution:
    Add the carbon details also to HiveSerde static map so that it can create 
Hive understandable table.
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed?
     
     - [ ] Any backward compatibility impacted?
     
     - [ ] Document update required?
    
     - [ ] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance 
test report.
            - Any additional information to help reviewers in testing this 
change.
           
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    


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

    $ git pull https://github.com/ravipesala/incubator-carbondata 
correct-carbon-table-creation

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

    https://github.com/apache/carbondata/pull/3004.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 #3004
    
----
commit 5218664382353d8ec8f7b3303eec46e1796c15c1
Author: ravipesala <ravi.pesala@...>
Date:   2018-12-19T16:30:57Z

    Create carbon table as hive metastore table

----


---

Reply via email to