创建csv格式的hive表

tech2022-09-22  87

CREATE EXTERNAL TABLE dmd.tablename( ) PARTITIONED BY ( dt string) row format serde ‘org.apache.hadoop.hive.serde2.OpenCSVSerde’ with SERDEPROPERTIES (“separatorChar”=",",“quotechar”="\"") STORED AS TEXTFILE;

最新回复(0)