introduce complex data-type for query "Alter table tableName change columnName copyColumnName dataType"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

introduce complex data-type for query "Alter table tableName change columnName copyColumnName dataType"

rahul_ku
Hi all, currently "Alter table tableName change columnName copyColumnName dataType" query supports only primitive type . I propose it should also support complex data type . e.g. CREATE TABLE changecomplexdatatype(arrayField array) STORED BY 'carbondata' Alter table changecomplexdatatype change arrayField arrayField array
Reply | Threaded
Open this post in threaded view
|

Re: introduce complex data-type for query "Alter table tableName change columnName copyColumnName dataType"

rahul_ku
Hi all,
currently "Alter table tableName change columnName copyColumnName dataType" query supports only primitive type .

I propose it should also support complex data type .

e.g.
CREATE TABLE changecomplexdatatype(arrayField array<int>) STORED BY 'carbondata'
Alter table changecomplexdatatype change arrayField arrayField array<bigint>
Reply | Threaded
Open this post in threaded view
|

Re: introduce complex data-type for query "Alter table tableName change columnName copyColumnName dataType"

Liang Chen
Administrator
In reply to this post by rahul_ku
+1.

Regards
Liang

2017-05-03 13:46 GMT+08:00 rahulcarbondata <[hidden email]>:

> Hi all,currently "Alter table tableName change columnName copyColumnName
> dataType" query supports only primitive type . I propose it should also
> support complex data type . e.g. CREATE TABLE
> changecomplexdatatype(arrayField *array*) STORED BY 'carbondata'Alter
> table
> changecomplexdatatype change arrayField arrayField *array*
>
>
>
> --
> View this message in context: http://apache-carbondata-
> mailing-list-archive.1130556.n5.nabble.com/introduce-
> complex-data-type-for-query-Alter-table-tableName-change-
> columnName-copyColumnName-dataTyp-tp11953.html
> Sent from the Apache CarbonData Mailing List archive mailing list archive
> at Nabble.com.




--
Regards
Liang