Hi all,
I fetch some images from the web.
I created a hive table this way:
CREATE TABLE images(id INT, url STRING, picture BINARY)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '|'
STORED AS SEQUENCEFILE
LOCATION 'mypath/images'
I thought to create a file and put it into the hdfs location ('mypath/images') but I really don't know what to write into that file about the binary image column...
the same, I dont' kknow how to INSERT directly into the hive table
someone can help me?
thanks