Drop column of hive table stored as orc

后端 未结 4 529
栀梦
栀梦 2021-01-01 00:03

I have hive table created as below:

create table alpha001(id int, name string) clustered by (id) into 2 buckets store         


        
4条回答
  •  既然无缘
    2021-01-01 00:52

    I just found out that we are not able to drop the columns in table which is stored as ORC. And only way is we can use "create table as select" option to create a new table with desired columns.

提交回复
热议问题