简体   繁体   English

HIVE ALTER SERDE 命令

[英]HIVE ALTER SERDE COMMAND

Is there a command in hive that would alter the serde properties of an existing table . hive 中是否有一个命令可以改变现有表的 serde 属性。 Well the tables are created using com.bizo.hive.serde.csv.CSVSerde which needs to be changed to org.apache.hadoop.hive.serde2.OpenCSVSerde ,I am looking for something like:那么这些表是使用com.bizo.hive.serde.csv.CSVSerde创建的,它需要更改为org.apache.hadoop.hive.serde2.OpenCSVSerde ,我正在寻找类似的东西:

alter table table_X change serde

Thanks,谢谢,

这将有助于:

ALTER TABLE TABLE_NAME SET SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde';

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM