Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from hadoop import Impala
- plink_path = r'C:\Users\...' # path to plink.exe (do not inlcude "plink.exe" in path)
- server = 'dayrhewbwp006.enterprisenet.org'
- hive = 'dayrhewbwp015'
- con = Impala(plink_path=plink_path, server=server,hive_server=hive,
- user='???', password='???')
- df = con.to_frame("select * from table limit 1")
- df
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement