Hello, I would like to embed Hive (client) in my application to execute a sequence of queries. Right now I do it using CLI (hive -f myScript.sql). Problem with this approach is that I do not get an return / error code to know the status of query programmatically.
So my question is what is the best way to embed Hive in a Java application? I know JDBC is one approach but that will need Hive service should be running somewhere and I want to avoid that. Thanks, Vinod