GitHub user praveenmeenakshi56 opened a pull request:
https://github.com/apache/carbondata/pull/2450
[CARBONDATA-2689] Added validations for complex columns in alter set
statements
### What was the issue
Alter set statements were not validating complex dataType columns correctly.
### What is the solution
Added a recursive method to validate string and varchar child columns of
complex dataType columns.
Added UTs for the same
Dependent on #2422
- [ ] Any interfaces changed?
NA
- [ ] Any backward compatibility impacted?
NA
- [ ] Document update required?
NA
- [ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
UT done, Test cases added
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/praveenmeenakshi56/carbondata
local_dict_varchar
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2450.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 #2450
----
commit bb89f1139ddd1f35bddf541a3d701c0c1cc33c0b
Author: brijoobopanna <brijoobopanna@...>
Date: 2018-06-27T09:22:46Z
Added Validations for Complex datatype columns for local dictionary include
and exclude
Added test cases for local dictionary support for alter table,set, unset
and preaggregate
commit 7884a436f20d0660d61b6c8bb0e1313ad240cb68
Author: praveenmeenakshi56 <praveenmeenakshi56@...>
Date: 2018-07-04T18:22:46Z
Added check for Complex Type columns and added Test cases for alter
statements
----
---