You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Indhumathi Muthu Murugesh (Jira)" <ji...@apache.org> on 2021/06/10 07:58:00 UTC

[jira] [Resolved] (CARBONDATA-4179) Support renaming of complex columns(array/struct)

     [ https://issues.apache.org/jira/browse/CARBONDATA-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Indhumathi Muthu Murugesh resolved CARBONDATA-4179.
---------------------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> Support renaming of complex columns(array/struct)
> -------------------------------------------------
>
>                 Key: CARBONDATA-4179
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4179
>             Project: CarbonData
>          Issue Type: Sub-task
>            Reporter: Akshay
>            Priority: Major
>             Fix For: 2.2.0
>
>          Time Spent: 21.5h
>  Remaining Estimate: 0h
>
> 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>
>  
> *NOTE-*
> Rename operation fails if the structure of the complex column has been altered. This check ensures the old and new columns are compatible with each other. Meaning the *number of children* and *complex levels* should be unaltered while attempting to rename.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)