[ https://issues.apache.org/jira/browse/CARBONDATA-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akshay updated CARBONDATA-4179: ------------------------------- Summary: Support renaming of complex columns (was: Support rename/change datatype for complex columns) > Support renaming of complex columns > ----------------------------------- > > Key: CARBONDATA-4179 > URL: https://issues.apache.org/jira/browse/CARBONDATA-4179 > Project: CarbonData > Issue Type: Sub-task > Reporter: Akshay > Priority: Major > > Complex columns supported for - *array and struct.* > For schema lets say- *str struct<a:int>* the following points will be > considered - > 1) Rename parent name *str to str2* > alter table test_rename change str str2 struct<a:int> > > 2) Rename child name from *a to b* > alter table test_rename change str str struct<b:int> > > 3) Change datatype of *a* from *int to long* > alter table test_rename change str str struct<a:long> > > *NOTE*- Renaming and changing datatype both operations should be done without > changing the levels of the complex column. For example : > 1) int cannot be converted to an array or struct. > 2) array cannot be converted to struct and vice-versa -- This message was sent by Atlassian Jira (v8.3.4#803005)