GitHub user ravipesala opened a pull request:
https://github.com/apache/carbondata/pull/1729
[CARBONDATA-1936] Corrected bad record and avoid double conversion of data
in Partitioning table
Currently, one time data conversion happens while loading data while
creating RDD to make sure the partitions are added with the right format. But
this approach creates an issue in case of bad record handling as the writing of
bad records not possible from RDD.
In this PR we don't convert the data in RDD but convert the data while
adding the partition information to hive.
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
partition-badrecord
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1729.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 #1729
----
commit d15b12f78f679a74889ee27b5cdcfb5758b7a902
Author: ravipesala <ravi.pesala@...>
Date: 2017-12-27T09:15:36Z
Corrected bad record and avoid double conversion of data
----
---