Commits

Miki Tebeka  committed 728515c Merge

Merge pull request #2 from kevinreedy/1-getSchema_fix

use ttypes from hive_metastore instead of missing global

  • Participants
  • Parent commits 3f117c6, 1b93939

Comments (0)

Files changed (1)

File hiver/hive_service/ThriftHive.py

         break
       if fid == 0:
         if ftype == TType.STRUCT:
-          self.success = ttypes.Schema()
+          self.success = hive_metastore.ttypes.Schema()
           self.success.read(iprot)
         else:
           iprot.skip(ftype)