Modify the field separator and serialization separator in the hive table

Modify the field separator:

alter table test01 set serdeproperties('field.delim'='\t');

test01 is the table name

Modify the serialization delimiter:

alter table test01 set serdeproperties('serialization.format'='\t');

test01 is the table name

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326135307&siteId=291194637