Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Read hive table with a python script

Rising Star

Hello, Please I want to read a hive table from a python script. Can you help me please? My cordial thanks

1 ACCEPTED SOLUTION

Rising Star

Hello !

Thank you very much for your suggestions. These methods have worked and I found another very suitable method is that of using the dataframe .

Cordially

View solution in original post

7 REPLIES 7

Here is a good doc to explain how to access hive through python.

https://cwiki.apache.org/confluence/display/Hive/HiveClient#HiveClient-Python

Hi @alain TSAFACK can you please share what other way you found? It will help all members also in future.

Explorer

How do we connect. when kerberos is enabled?

Rising Star

Rising Star

Hello !

Thank you very much for your suggestions. These methods have worked and I found another very suitable method is that of using the dataframe .

Cordially

Explorer

We use kerberos authentication process. How to connect to hive server2 from python? Any help is highly appreciated.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.