queryRunner.installPlugin(new SampledTpchPlugin());
queryRunner.createCatalog("tpch_sampled", "tpch_sampled");
File baseDir = queryRunner.getCoordinator().getBaseDataDir().toFile();
InMemoryHiveMetastore metastore = new InMemoryHiveMetastore();
metastore.createDatabase(new Database("tpch", null, new File(baseDir, "tpch").toURI().toString(), null));
metastore.createDatabase(new Database("tpch_sampled", null, new File(baseDir, "tpch_sampled").toURI().toString(), null));
queryRunner.installPlugin(new HivePlugin("hive", metastore));
Map<String, String> hiveProperties = ImmutableMap.<String, String>builder()
.put("hive.metastore.uri", "thrift://localhost:8080")
.put("hive.allow-drop-table", "true")