Member since
11-10-2017
2
Posts
0
Kudos Received
0
Solutions
11-14-2017
06:12 AM
Thanks a lot, RTrivedi for your response. It's working. And for my use-case, i used JSCH to connect hive server.
... View more
11-10-2017
11:18 PM
I have use case that to execute .sql file from java connecting to hive server. SQL file is added with the Jars(SQL file has many statements). the final output of it will be a text file. Basically I have to achieve the below command in java and read the output file out of it. I have gone through many blogs but no luck. Please help me with the examples. or how can i achieve this use case. hive -f test.sql > test.txt
... View more
Labels:
- Labels:
-
Apache Hive