I'm working on adding HiveServer2 support to my company's R data-access package. I'm curious what the best way of generating an R Thrift client would be. I'm considering writing an R wrapper around the Java Thrift client, similar to what rhbase does, but I'd prefer a pure R solution, if possible.
Things to note:
- HiveServer2 thrift server is different from the original Hive Thrift server.
- I've looked at and used the RHive package. Among other issues I have with it, it requires a system-install of Hadoop and Hive, which will not always be available on R client machines.
- My somewhat horrible - but currently sufficient - workaround is to wrap the
beeline
client in some R goodness.