public HCatSchema getTableSchema() {
    assert this.partitionInfo.getTableInfo() != null : "TableInfo should have been set at this point.";
    return this.partitionInfo.getTableInfo().getAllColumns();
  }
Gets the table schema.
@return the table schema
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatSplit.java