Add test for partial aggregation push down
@@ -22,6 +22,7 @@ import com.facebook.presto.tpch.TpchConnectorFactory;
import com.google.common.collect.ImmutableMap;
import org.testng.annotations.Test;
+import static com.facebook.presto.SystemSessionProperties.PUSH_PARTIAL_AGGREGATION_THROUGH_JOIN;
import static com.facebook.presto.spi.type.DoubleType.DOUBLE;
import static com.facebook.presto.spi.type.VarcharType.VARCHAR;
import static com.facebook.presto.testing.MaterializedResult.resultBuilder;
@@ -43,6 +44,7 @@ public class TestLocalQueries
Session defaultSession = testSessionBuilder()
.setCatalog("local")
.setSchema(TINY_SCHEMA_NAME)
+ .setSystemProperty(PUSH_PARTIAL_AGGREGATION_THROUGH_JOIN, "true")
.build();
LocalQueryRunner localQueryRunner = new LocalQueryRunner(defaultSession);
