【发布时间】:2019-07-19 21:59:48
【问题描述】:
我有一个超过 2000 列的表,但我只需要删除一列 有什么有效的方法可以在 impala 中制作它?
我正在尝试这种方式:
alter table proceso.prueba drop subsegm
select * from proceso.prueba
但是,我在“选择”中遇到了这个错误:
'hdfs://nameservice1/user/hive/warehouse/proceso.db/prueba/914a7dd4a8462ff1-
860a4c1d00000011_978927331_data.1.parq' has an incompatible Parquet schema
for column 'proceso.prueba.nfi_meses_antiguedad_bco'. Column type: INT,
Parquet schema: optional byte_array subsegm [i:4 d:1 r:0]
我做错了什么?
感谢您的帮助
【问题讨论】: