Displaying 1 result from an estimated 1 matches for "20110506_orders".
2011 Jun 13
0
Hadoop Hive output read into R
...a hive statement and writes the returned data to a delimited file. Then, I read that file into an object and continue.
For example:
hive.script <- "select * from orders where date = ''2011-05-06'';"
write(hive.script,"script")
system("hive –f script > 20110506_orders")
order.file <- read("20110506_orders", sep = "\t", header = F)
Does the group have experience with a better way to handle this?
The goal would be to write data directly from hive into the R CLI in order to avoid unnecessary file clutter on a shared server. There are ha...