Error loading csv data into Hive table

后端 未结 3 1199
难免孤独
难免孤独 2021-01-05 03:14

i have a csv file in hadoop and i have a Hive table ,now i want to laoad that csv file into this Hive table

i have used load LOAD DATA local \'path/to/csv/file\' ove

3条回答
  •  自闭症患者
    2021-01-05 03:56

    I think the command to load CSV to Hive table is ( when CSV is in HDFS).

    LOAD DATA INPATH '/user/test/my.csv' INTO TABLE my_test;
    

提交回复
热议问题