pyhive python连接hive
生活随笔
收集整理的這篇文章主要介紹了
pyhive python连接hive
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
from?pyhive?import?hive
conn?=?hive.Connection(host='1*.30',auth='LDAP',port=10000,username='*',password='*',database='*')
cursor?=?conn.cursor()
cursor.execute("select?*?from?dp_ods.*?where?etl_date='2018-11-13'")
總結
以上是生活随笔為你收集整理的pyhive python连接hive的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 现代控制理论(1)——状态空间表达式
- 下一篇: 机器学习---数据简介及数据清洗概述