@Override
public void configure() {
createDataset(INPUT, KeyValueTable.class.getName(), DatasetProperties.EMPTY);
for (String name : new String[] { PFS, OTHER }) {
createDataset(name, PartitionedFileSet.class.getName(), PartitionedFileSetProperties.builder()
.setPartitioning(Partitioning.builder().addIntField("number").build())
.setOutputFormat(TextOutputFormat.class)
.setOutputProperty(TextOutputFormat.SEPERATOR, ",")
.setEnableExploreOnCreate(true)
.setExploreTableName(name)
.setExploreSchema("key STRING, value STRING")
.setExploreFormat("csv")
.build());
}
addMapReduce(new PartitionWriterMR());
}