I have a csv file in hadoop and I have a Hive table, now I want to load this csv file into this Hive table
I used load LOAD DATA local 'path / to / csv / file' overwrite INTO TABLE tablename;
ended up with this error:
Error in .verify.JDBC.result(r, "Unable to retrieve JDBC result set for ", : Unable to retrieve JDBC result set for LOAD DATA local 'path/to/csv/file' overwrite INTO TABLE tablename (Error while processing statement: FAILED: ParseException line 1:16 missing INPATH at ''path/tp csv/file'' near '<EOF>' )
Note: I am trying to use an RJDBC connection in r
r hive rjdbc
Teja nandury
source share