You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Rui Li <li...@gmail.com> on 2020/07/20 06:46:44 UTC

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

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 忝忝向仧 <15...@qq.com> wrote:

> Hi,all:
>
>
> It seems that Hive can not alter table to add column at&nbsp;specified
> 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