Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with hive.connect(host = 'hostname of that node', port= 10000, authMechanism='LDAP', user='username', password='pass') as conn:
- with conn.cursor() as cur:
- cur.execute('select * from tablename')
- do_not_touch_this_data = pd.DataFrame(cur.fetch())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement