>>> import hiver
>>> client = hiver.connect("localhost", 10000)
>>> client.execute("SELECT col1, col2 from table limit 5")
>>> client.getSchema()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/hiver/hive_service/ThriftHive.py", line 180, in getSchema
return self.recv_getSchema()
File "/Library/Python/2.7/site-packages/hiver/hive_service/ThriftHive.py", line 197, in recv_getSchema
result.read(self._iprot)
File "/Library/Python/2.7/site-packages/hiver/hive_service/ThriftHive.py", line 1030, in read
self.success = ttypes.Schema()
NameError: global name 'ttypes' is not defined