assertEquals(Types.INTEGER, Atom.getFirst(hive.getPartitionDimension().getResource(config.getResourceName()).getSecondaryIndexes()).getColumnInfo().getColumnType());
}
@Test
public void testInstallPartitioningResourceWithPartitionDimensionInstalled() throws Exception {
new HiveConfigurationSchemaInstaller(getConnectString(H2TestCase.TEST_DB)).run();
Hive hive = Hive.create(getConnectString(H2TestCase.TEST_DB), WeatherReport.CONTINENT, Types.VARCHAR, CachingDataSourceProvider.getInstance(), null);
ConfigurationReader reader = new ConfigurationReader(Continent.class);
reader.install(hive);
EntityConfig config = reader.getEntityConfig(Continent.class.getName());
assertNotNull(hive.getPartitionDimension().getResource(config.getResourceName()));