I have a directory where I store a mapreduce result with this format: "(integer1, integer2, integer3)" and I would like to load that data into Apache Hive.
First I create the table like this:
create table test (field1 int, field2 int, field3 int);
And later I try to load the data this way:
load data inpath '/user/myuser/output/test' into table test;
The path is OK, the table is loaded with several rows but all of them are empty (3 fields are NULL).
How could I fix it?