private void storageCompressionTest(StoreType storeType, Class<? extends CompressionCodec> codec) throws IOException {
Schema schema = new Schema();
schema.addColumn("id", Type.INT4);
schema.addColumn("age", Type.INT8);
TableMeta meta = CatalogUtil.newTableMeta(schema, storeType);
meta.putOption("compression.codec", codec.getCanonicalName());
String fileName = "Compression_" + codec.getSimpleName();
Path tablePath = new Path(testDir, fileName);
Appender appender = StorageManagerFactory.getStorageManager(conf).getAppender(meta, tablePath);
appender.enableStats();