use of com.facebook.presto.tests.tpch.IndexedTpchPlugin in project presto by prestodb.
the class TestDistributedQueriesIndexed method createQueryRunner.
private static DistributedQueryRunner createQueryRunner() throws Exception {
Session session = testSessionBuilder().setCatalog("tpch_indexed").setSchema(TINY_SCHEMA_NAME).build();
DistributedQueryRunner queryRunner = new DistributedQueryRunner(session, 3);
queryRunner.installPlugin(new IndexedTpchPlugin(INDEX_SPEC));
queryRunner.createCatalog("tpch_indexed", "tpch_indexed");
return queryRunner;
}
Aggregations