GitHub user ajantha-bhat opened a pull request:
https://github.com/apache/carbondata/pull/2494
[CARBONDATA-2734] Fix struct of date issue in create table
problem: Struct of date is not supported currently in create table flow
as date datatype check is missing during parsing.
Hence child date column was not appended with parent name, leading to
StringOutOfIndex exception.
solution: Handle the date DataType as a complex child during column
formation.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?NA
- [ ] Any backward compatibility impacted?NA
- [ ] Document update required?NA
- [ ] Testing done. Updated the UT.
- [ ] 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/ajantha-bhat/carbondata issue_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2494.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 #2494
commit e8c6e49f12df5d2f4a17e1de05f8a14cf7605c94
Author: ajantha-bhat
Date: 2018-07-11T11:58:45Z
[CARBONDATA-2734] support struct of date in create table
problem: Struct of date is not supported currently in create table flow
as date datatype check is missing during parsing.
Hence child date column was not appended with parent name, leading to
StringOutOfIndex excpetion.
solution: Handle the date DataType as a complex child during column
formation.
---