Hive Client for Python 3.x

Is it possible to connect to hadoop and run hive requests using Python 3.x? I am using Python 3.4.1.

I found out that this can be done as written here: https://cwiki.apache.org/confluence/display/Hive/HiveClient#HiveClient-Python

However, I can’t install the bush module because it says that “Could not find a version that meets the hive requirement.

+5
source share
1 answer

If you have HiveServer2 installed, you can use pyhs2 . Or, if you execute your script locally, you can use the subprocess and output the output hive -e your_query; .

0
source

Source: https://habr.com/ru/post/1200104/


All Articles