a[1]
[1] "AA"
> rhive.query("select count( uniquecarrier) from f08 where uniquecarrier= '",a[1] ," ' ")
Error: java.sql.SQLException: Query returned non-zero code: 40000, cause: FAILED: ParseException line 1:61 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in expression specification
In addition: Warning messages:
1: In lapply(list(...), ._java_valid_object) : NAs introduced by coercion
2: In lapply(list(...), ._java_valid_object) : NAs introduced by coercion
I want to supply value vector value to rhive, but when I fire the above query it displays an error.