ShreelekhyaG opened a new pull request #4214:
URL: https://github.com/apache/carbondata/pull/4214
### Why is this PR needed?
1. Insert/load fails after alter add complex column if table contains long
string columns.
2. create index on array of complex column (map/struct) throws null pointer
exception instead of correct error message.
### What changes were proposed in this PR?
1. The datatypes array and data row are of different order leading to
`ClassCastException`. Made changes to add newly added complex columns after the
long string columns and other dimensions.
2. For complex columns, SI creation on only array of primitive types is
allowed. Check if the child column is of complex type and throw an exception.
### Does this PR introduce any user interface change?
- No
### Is any new testcase added?
- No, edited existing testcases.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]