new IndexSchema(createPopulatedPartitionDimension())});
}
private void prepare() {
try {
new HiveConfigurationSchemaInstaller(getConnectString(H2TestCase.TEST_DB)).run();
Hive hive = Hive.create(getConnectString(H2TestCase.TEST_DB), partitionDimensionName(), Types.INTEGER, CachingDataSourceProvider.getInstance(), null);
dimension = createPopulatedPartitionDimension();
dimension.setId(hive.getPartitionDimension().getId());
hive.setPartitionDimension(dimension);
resource = Atom.getFirstOrThrow(dimension.getResources());