Access Hive Data Using Python

前端 未结 4 1691
有刺的猬
有刺的猬 2020-12-09 19:13

I have some data in HDFS,i need to access that data using python,can anyone tell me how data is accessed from hive using python?

4条回答
  •  甜味超标
    2020-12-09 19:39

    I tried almost every possible solution to connect to Hive from remote windows server. Nothing seemed to work. PyHive and pyhs2 use SASL and SASL is not supported on windows. Installing it through cygwin also didn't help. The only solution that worked for me was pyodbc. You just need to configure DSN on your system.

提交回复
热议问题