hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SingoWong <singoch...@gmail.com>
Subject Re: Confused about after add columns for hive table
Date Mon, 30 Aug 2010 18:53:42 GMT
everyone can help me? the columns cannot match the data~~~

On Thu, Aug 26, 2010 at 1:09 PM, SingoWong <singochina@gmail.com> wrote:

> Hi,
>
> I had execute "ALTER TABLE tablename ADD COLUMNS (newcolumns STRING)" to
> add column,
> before i add this column, got 4 columns, the new column will after the 4th
> column, and before partition column, and now the new data in hdfs was exist
> in the 5th columns, but i execute "SELECT * FROM tablename", the newcolumns
> is empty.
>
> Means i cat the file in hdfs is exist data, but how come the newcolumns is
> empty?
>
> Regards,
> Singo
>

Mime
View raw message