Advertisement
Guest User

Untitled

a guest
Aug 18th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. with hive.connect(host = 'hostname of that node', port= 10000, authMechanism='LDAP', user='username', password='pass') as conn:
  2. with conn.cursor() as cur:
  3. cur.execute('select * from tablename')
  4. do_not_touch_this_data = pd.DataFrame(cur.fetch())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement