GitHub user shardul-cr7 opened a pull request:
https://github.com/apache/carbondata/pull/3045
[CARBONDATA-3222]Fix dataload failure after creation of preaggregate
datamap on main table with long_string_columns
This PR is to Fix dataload failure after creation of preaggregate datamap
on main table with long_string_columns.
Dataload is gettling failed because child table properties are not getting
modified according to the parent table for long_string_columns.
This occurs only when long_string_columns is not specified in dmproperties
for preaggregate datamap but the datamap was getting created and data load was
failing. This PR is to avoid the dataload failure in this scenario.
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?
- [x] Testing done
added a testcase
- [ ] 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/shardul-cr7/carbondata lsc_preagg
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/3045.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 #3045
----
commit ed588b32ff95a451782c98cae991efd6d148b5c3
Author: shardul-cr7 <shardulsingh22@...>
Date: 2019-01-02T09:17:34Z
[CARBONDATA-3222]Fix dataload failure after creation of preaggregate
datamap on main table with long_string_columns
----
---