You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by zhangjp <sm...@hotmail.com> on 2015/03/20 06:54:30 UTC

update column type error

I have a external table with my custom serde, there is a column ,it's type is float . now i want to update the float type to string type ,  i execute " alter table alter_test replace columns (col1 string);"  the error is "FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Replace columns is not supported for table android. SerDe may be incompatible."
then i execute " alter table ios_ext replace columns(col1 string)" , the result is ok.  but when i look into the table  "columns_v2"  i find the column type still "float".
thanks.