csv-serde下载地址:http://ogrodnek.github.io/csv-serde/
用法:
add jar path/to/csv-serde.jar; create table my_table(a string, b string, ...) row format serde 'com.bizo.hive.serde.csv.CSVSerde' stored as textfile ;自定义分隔符:
add jar path/to/csv-serde.jar; create table my_table(a string, b string, ...) row format serde 'com.bizo.hive.serde.csv.CSVSerde' with serdeproperties ( "separatorChar" = "\t", "quoteChar" = "'", "escapeChar" = "\\" ) stored as textfile ;