Search in sources :

Example 1 with IndexedTpchPlugin

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;
}
Also used : IndexedTpchPlugin(com.facebook.presto.tests.tpch.IndexedTpchPlugin) Session(com.facebook.presto.Session)

Aggregations

Session (com.facebook.presto.Session)1 IndexedTpchPlugin (com.facebook.presto.tests.tpch.IndexedTpchPlugin)1