GitHub user xubo245 opened a pull request: https://github.com/apache/carbondata/pull/2807
[CARBONDATA-2997] Support read schema from index file and data file in CSDK [CARBONDATA-2997] Support read schema from index file and data file in CSDK 1.support readSchemaInIndexFile 2.support readSchemaInDataFile 3.support get field name and data type name 4.suppport get array child element data type name 5.can read schema when carbonreader has set ak,sk,endpoint 6.TODO: need support read scehma from S3 in the future Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [ ] Any interfaces changed? add interface - [ ] Any backward compatibility impacted? No - [ ] Document update required? Yes - [ ] Testing done add test case - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. https://issues.apache.org/jira/browse/CARBONDATA-2951 You can merge this pull request into a Git repository by running: $ git pull https://github.com/xubo245/carbondata CARBONDATA-2997_supportReadSchema Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/2807.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 #2807 ---- commit 380077653c7697855cb09f4541442560593d6e29 Author: xubo245 <xubo29@...> Date: 2018-10-10T03:49:01Z [CARBONDATA-2997] Support read schema from index file and data file in CSDK 1.support readSchemaInIndexFile 2.support readSchemaInDataFile 3.support get field name and data type name 4.suppport get array child element data type name 5.can read schema when carbonreader has set ak,sk,endpoint 6.TODO: need support read scehma from S3 in the future ---- ---