CSV is not a valid file type. Try this instead:
create external table hello (
name INT)
row format delimited
fields terminated by ','
stored as textfile
location 's3://bucket/myfolder';
Or
create external table hello (
name INT)
row format serde 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
stored as textfile
location 's3://bucket/myfolder';
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…