> import pyhs2 ... > thrift.Thrift.TApplicationException: Required field 'sessionHandle' is >unset! Struct:TExecuteStatementReq(sessionHandle:null, statement:USE >default, confOverlay:{})
That's a version mismatch in the thrift protocol layer (JDBC to be precise). PyHS2 is deprecated and unmaintained. Cheers, Gopal