Re: Using python for hive table quering gives error

2016-01-15 Thread Karimkhan Pathan
So what is the correct way to do this. i could find all examples using *pyhs2 only.* On Fri, Jan 15, 2016 at 3:40 PM, Gopal Vijayaraghavan wrote: > > > import pyhs2 > > ... > > thrift.Thrift.TApplicationException: Required field 'sessionHandle' is > >unset! Struct:TExecuteStatementReq(sessionHan

Fwd: Using python for hive table quering gives error

2016-01-15 Thread Karimkhan Pathan
I am trying to query hive table with basic example code: *import pyhs2* *with pyhs2.connect(host='dmet-master05.inetu.net ',* * port=1,* * authMechanism='PLAIN',* * user='karim',* * passwor