Search in sources :

Example 11 with LogicalRowExpressions

use of io.prestosql.expressions.LogicalRowExpressions in project hetu-core by openlookeng.

the class TestJoinNodeFlattener method setUp.

@BeforeClass
public void setUp() {
    queryRunner = new LocalQueryRunner(testSessionBuilder().build());
    logicalRowExpressions = new LogicalRowExpressions(new RowExpressionDeterminismEvaluator(queryRunner.getMetadata()), new FunctionResolution(queryRunner.getMetadata().getFunctionAndTypeManager()), queryRunner.getMetadata().getFunctionAndTypeManager());
}
Also used : RowExpressionDeterminismEvaluator(io.prestosql.sql.relational.RowExpressionDeterminismEvaluator) LogicalRowExpressions(io.prestosql.expressions.LogicalRowExpressions) FunctionResolution(io.prestosql.sql.relational.FunctionResolution) LocalQueryRunner(io.prestosql.testing.LocalQueryRunner) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

LogicalRowExpressions (io.prestosql.expressions.LogicalRowExpressions)11 FunctionResolution (io.prestosql.sql.relational.FunctionResolution)11 RowExpressionDeterminismEvaluator (io.prestosql.sql.relational.RowExpressionDeterminismEvaluator)11 RowExpression (io.prestosql.spi.relation.RowExpression)9 FilterNode (io.prestosql.spi.plan.FilterNode)5 Symbol (io.prestosql.spi.plan.Symbol)5 List (java.util.List)5 ImmutableList (com.google.common.collect.ImmutableList)4 Session (io.prestosql.Session)4 Metadata (io.prestosql.metadata.Metadata)4 PlanNode (io.prestosql.spi.plan.PlanNode)4 VariableReferenceExpression (io.prestosql.spi.relation.VariableReferenceExpression)4 Optional (java.util.Optional)4 Test (org.testng.annotations.Test)4 Capture (io.prestosql.matching.Capture)3 Capture.newCapture (io.prestosql.matching.Capture.newCapture)3 Captures (io.prestosql.matching.Captures)3 Pattern (io.prestosql.matching.Pattern)3 FunctionHandle (io.prestosql.spi.function.FunctionHandle)3 ConstantExpression (io.prestosql.spi.relation.ConstantExpression)3