GitHub user ravipesala opened a pull request:
https://github.com/apache/carbondata/pull/2186 [CARBONDATA-2358] Fix overwrite mode in dataframe write data
DataFrame overwrite is not working properly if the table is already created.
Solution : Delete segments should not be used while overwriting dataframe , it should be atomic operation so overwrite option should be passed to load command internally.
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
Tests added
- [ ] 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 dataframewriter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2186.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2186
----
commit d4668ff122b13b1e73f4dde6083dd87ad066555c
Author: ravipesala <ravi.pesala@...>
Date: 2018-04-19T05:12:46Z
Fix overwrite mode in dataframe write
----
---