Login  Register

[jira] [Updated] (CARBONDATA-4170) Support dropping of parent complex columns(array/struct/map)

classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

[jira] [Updated] (CARBONDATA-4170) Support dropping of parent complex columns(array/struct/map)

Akash R Nilugal (Jira)

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

Akshay updated CARBONDATA-4170:
-------------------------------
    Description:
Drop complex columns(array/struct/map) from carbon table. For example - 

arr1 array<int>, struct1  struct<a:int, b:string>, map1 map<int,string>

Command - 

ALTER TABLE <table_name> DROP COLUMNS(arr1, struct1,map1)

Design document - [https://docs.google.com/document/d/1DhhkVXM8rMvOuKDZeccJpFEfO3VkA9C0c7JHCV88NXI/edit]

  was:
Drop complex columns(only array and struct) from carbon table. For example - 

arr1 array<int>, struct1  struct<a:int, b:string>

Command - 

ALTER TABLE <table_name> DROP COLUMNS(arr1, struct1)

Design document - [https://docs.google.com/document/d/1DhhkVXM8rMvOuKDZeccJpFEfO3VkA9C0c7JHCV88NXI/edit]


> Support dropping of parent complex columns(array/struct/map)
> ------------------------------------------------------------
>
>                 Key: CARBONDATA-4170
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4170
>             Project: CarbonData
>          Issue Type: Sub-task
>          Components: spark-integration
>            Reporter: Akshay
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Drop complex columns(array/struct/map) from carbon table. For example - 
> arr1 array<int>, struct1  struct<a:int, b:string>, map1 map<int,string>
> Command - 
> ALTER TABLE <table_name> DROP COLUMNS(arr1, struct1,map1)
> Design document - [https://docs.google.com/document/d/1DhhkVXM8rMvOuKDZeccJpFEfO3VkA9C0c7JHCV88NXI/edit]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [jira] [Updated] (CARBONDATA-4170) Support dropping of parent complex columns(array/struct/map)

susannexoxo
Thanks for the update, Akshay. Supporting `map` along with `array` and `struct` in the `DROP COLUMNS` command definitely enhances flexibility for schema evolution in CarbonData. The linked design doc is also helpful for context. Et pour celles qui veulent faire évoluer leur style avec autant de flexibilité, rien ne vaut une robe élégante qui s’adapte à toutes les envies.