Skip to content Skip to sidebar Skip to footer

Hive Client For Python 3.x

is it possible to connect to hadoop and run hive queries using Python 3.x? I am using Python 3.4.1. I found out that it can be done as written here: https://cwiki.apache.org/conflu

Solution 1:

If you have HiveServer2 installed you can use pyhs2. Or if you're execution your script locally, than you can use subprocess and catch the output of hive -e your_query;.


Post a Comment for "Hive Client For Python 3.x"