Mu-Sigma / RImpala

RImpala is an R package that helps you to connect and execute distributed queries using Cloudera Impala
Other
13 stars 14 forks source link

delay in code execution when inserting into #5

Open karthikg0703 opened 9 years ago

karthikg0703 commented 9 years ago

Currently, if I run rimpala.query(insert_into, isDDL="true"), I immediately get a "Query Executed successfully" message, but internally the code hasn't completed running yet

If i put this in a loop, and constantly insert weekly data into my impala table, it takes a while for the actual query to complete, and if I were to use this table for subsequent operations, I keep getting errors on the lines of "there is no data to process"

could you tweak the function to return a value only once the actual execution has been completed ?