use of io.trino.plugin.tpch.TpchConnectorFactory.TPCH_COLUMN_NAMING_PROPERTY in project trino by trinodb.
the class TestTpchDistributedStats method setup.
@BeforeClass
public void setup() throws Exception {
DistributedQueryRunner runner = TpchQueryRunnerBuilder.builder().amendSession(builder -> builder.setSystemProperty(PREFER_PARTIAL_AGGREGATION, "false").setSystemProperty(COLLECT_PLAN_STATISTICS_FOR_ALL_QUERIES, "true")).buildWithoutCatalogs();
runner.createCatalog("tpch", "tpch", ImmutableMap.of(TPCH_COLUMN_NAMING_PROPERTY, ColumnNaming.STANDARD.name()));
statisticsAssertion = new StatisticsAssertion(runner);
}
Aggregations