use of io.prestosql.plugin.jdbc.optimization.TesterParameter in project hetu-core by openlookeng.
the class TestApplyRemoteFunctionPushDown method setup.
@BeforeTest
public void setup() {
BaseJdbcConfig baseJdbcConfig = new BaseJdbcConfig();
baseJdbcConfig.setPushDownExternalFunctionNamespace("jdbc.v1");
TesterParameter testerParameter = TesterParameter.getTesterParameter();
this.baseJdbcRowExpressionConverter = new BaseJdbcRowExpressionConverter(testerParameter.getMetadata().getFunctionAndTypeManager(), testerParameter.getFunctionResolution(), testerParameter.getRowExpressionService(), testerParameter.getDeterminismEvaluator());
this.applyRemoteFunctionPushDown = new TestingApplyRemoteFunctionPushDown(baseJdbcConfig, "foo");
columnA = planSymbolAllocator.newSymbol("a", BIGINT);
}
Aggregations