Search in sources :

Example 1 with RuleTester

use of io.prestosql.sql.planner.iterative.rule.test.RuleTester in project hetu-core by openlookeng.

the class TestReorderJoins method setUp.

@BeforeClass
public void setUp() {
    tester = new RuleTester(ImmutableList.of(), ImmutableMap.of(JOIN_DISTRIBUTION_TYPE, JoinDistributionType.AUTOMATIC.name(), JOIN_REORDERING_STRATEGY, JoinReorderingStrategy.AUTOMATIC.name()), Optional.of(4));
    this.functionResolution = new FunctionResolution(tester.getMetadata().getFunctionAndTypeManager());
}
Also used : RuleTester(io.prestosql.sql.planner.iterative.rule.test.RuleTester) FunctionResolution(io.prestosql.sql.relational.FunctionResolution) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

RuleTester (io.prestosql.sql.planner.iterative.rule.test.RuleTester)1 FunctionResolution (io.prestosql.sql.relational.FunctionResolution)1 BeforeClass (org.testng.annotations.BeforeClass)1