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