Last active
June 21, 2020 11:23
-
-
Save ragingbal/3148cf05c35e159e5b9b1264490d0505 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conn = hive.connect(host=host, port=port, username=username, database=schema, password=password, auth='LDAP') | |
query = ("select * from test_bal.abc limit 10") | |
cur = conn.cursor() | |
cur.execute(query) | |
cur.fetchall() | |
cur.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment