GitHub user ravipesala opened a pull request:
https://github.com/apache/carbondata/pull/1755
[CARBONDATA-1976][PARTITION] Support combination of dynamic and static
partitions. And fix concurrent partition load issue.
Support combination of dynamic and static partitions.
Like user can give as follows
```
sql(s"""LOAD DATA local inpath '$resourcesPath/data.csv' INTO TABLE
loadstaticpartitiondynamic
PARTITION(empno='1', empname) OPTIONS('DELIMITER'= ',', 'QUOTECHAR'=
'"')""")
```
And fix the concurrent partition load issue as sometimes it gives file not
found exception while deleting temporary folders.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [X] Any interfaces changed? NO
- [X] Any backward compatibility impacted? NO
- [X] Document update required? NO
- [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
static-dynamic-partition-mix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1755.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 #1755
----
commit b387bbe37e577822a6985e46e8de37cf87ebec59
Author: ravipesala <ravi.pesala@...>
Date: 2018-01-03T05:18:09Z
Fix dynamic and static partition data loading combination
commit 205f61c18281053b043d3e9d46f0f32f7b203df5
Author: ravipesala <ravi.pesala@...>
Date: 2018-01-03T12:55:09Z
Fixed concurrent partition load issue.
----
---