GitHub user xubo245 opened a pull request:

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

    [CARBONDATA-2500]  Create are API to read user's schema in SDK

    The order is different between write and read data type of schema in SDK
    1. Create are API to read user's schema in SDK:
    org.apache.carbondata.sdk.file.CarbonReader#readUserSchema
    `  /**
       * Read CarbonData file and return the user schema
       */
      public static List<ColumnSchema> readUserSchema(String dataFilePath) ;`
    2.write some test case to sort list of columnSchema.  
    org.apache.carbondata.sdk.file.CarbonReaderTest
    3. Fix some spell error in CarbonData
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed?
     No, but add one new interface
     - [ ] Any backward compatibility impacted?
     No
     - [ ] Document update required?
    Yes
     - [ ] 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.
          add some test case in org.apache.carbondata.sdk.file.CarbonReaderTest
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    No

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

    $ git pull https://github.com/xubo245/carbondata 
CARBONDATA-2500-orderDifferent

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

    https://github.com/apache/carbondata/pull/2341.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 #2341
    
----
commit 214f46440c47bba481e72e344c2853364b855aca
Author: xubo245 <xubo29@...>
Date:   2018-05-25T08:07:55Z

    [CARBONDATA-2500] The order is different between write and read data type 
of schema in SDK
    
    fix style

----


---

Reply via email to