make getSchema call forward-compatible with newer versions of Hive (specifically Hive 0.11.0)

the single argument version of getSchema is removed in Hive >= 0.11.0