GitHub user ravipesala opened a pull request: https://github.com/apache/carbondata/pull/1876
[CARBONDATA-2093] Use small file feature of global sort to minimise the carbondata file count Based on the size of csv partition files combine them and minimise the csv rdd partitions, so that it will reduce the carbondata file count. It uses the same logic and method of global sort feature. And also refactored LoadCOmmand processData method to avoid lookup in metstore. Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [X] Any interfaces changed? - [X] Any backward compatibility impacted? - [X] Document update required? - [X] Testing done Tests added - [X] 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 partition-refactor Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/1876.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 #1876 ---- commit 6f2db90a94f8bc3241034fd15691eedf6da005a3 Author: ravipesala <ravi.pesala@...> Date: 2018-01-28T15:07:21Z Use small file feature of global sort to minimise the carbondata file count ---- ---