private static Table createPersonTable() {
    FieldSchema idField = new FieldSchema();
    idField.setName("id");
    idField.setType("int");
    FieldSchema nameField = new FieldSchema();
    nameField.setName("name");
    nameField.setType("string");
    StorageDescriptor descriptor = new StorageDescriptor();
    descriptor.setInputFormat("org.apache.hadoop.mapred.TextInputFormat");
    descriptor.setOutputFormat("org.apache.hadoop.mapred.TextInputFormat");
    descriptor.setLocation("hdfs:///apps/hive/warehouse/default.db/person");
    descriptor.setCompressed(false);
    descriptor.setCols(Arrays.asList(idField, nameField));
    long createTime = LocalDate.of(2022, 1, 24).atStartOfDay().toInstant(ZoneOffset.UTC).getEpochSecond();
    Table tbl = new Table();
    tbl.setDbName("default");
    tbl.setTableName("person");
    tbl.setOwner("hive");
    tbl.setCreateTime(Math.toIntExact(createTime));
    tbl.setLastAccessTime(Math.toIntExact(createTime));
    tbl.setSd(descriptor);
    tbl.setParameters(Collections.emptyMap());
    return tbl;
  }
Creates a minimal table resembling a PERSON type (see DDL below) for testing purposes.

<pre>{@code
CREATE TABLE default.person (id INT, name STRING) STORED AS TEXTFILE
}</pre>

@return a new table representing a person.
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestMRCompactorJobQueueConfiguration.java