Re: 【Hive Alter Table Add column at specified position】

2020-07-20 Thread Rui Li
Yeah, according to our DDL doc, we don't support this use case at the
moment. Perhaps you can use REPLACE COLUMNS as a workaround.

On Sat, Jun 27, 2020 at 5:32 PM 忝忝向仧 <153488...@qq.com> wrote:

> Hi,all:
>
>
> It seems that Hive can not alter table to add column atspecified
> position.
> For instance,the Table A has c1,c2,c3 columns,and i want to add column c4
> after c1,therefore,the table would be like c1,c4,c2,c3 instead of
> c1,c2,c3,c4.
>
>
> Thanks.



-- 
Best regards!
Rui Li


??Hive Alter Table Add column at specified position??

2020-06-27 Thread ????????
Hi,all:


It seems that Hive can not alter table to add column atspecified position.
For instance,the Table A has c1,c2,c3 columns,and i want to add column c4 after 
c1,therefore,the table would be like c1,c4,c2,c3 instead of c1,c2,c3,c4.


Thanks.