private Table createPartitionedTableObject(Database db) {
    FieldSchema ptnCol1 = new FieldSchema("partCol1", "string", "string partition column");
    FieldSchema ptnCol2 = new FieldSchema("partCol2", "int", "integer partition column");
    List<FieldSchema> ptnCols = Arrays.asList(ptnCol1, ptnCol2);
    Table tbl = createUnpartitionedTableObject(db);
    tbl.setTableName(db.getName() + "_ptntbl1");
    tbl.setPartitionKeys(ptnCols);
    return tbl;
  }
Create a partitoned table object for the given db.
The table has 9 types of columns.
The partition columns are string and integer
@param db the database into which the partitioned table is created
@return the partitioned table just created
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java