gparai commented on a change in pull request #1372: DRILL-6589: Push transitive closure predicates past aggregates/projects URL: https://github.com/apache/drill/pull/1372#discussion_r205250094
########## File path: exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestParquetFilterPushdownWithTransitivePredicates.java ########## @@ -269,5 +269,19 @@ public void testForWithStatementAndDynamicStar() throws Exception { final String[] expectedPlan = {"first.*numRowGroups=2", "second.*numRowGroups=1"}; testPlanMatchingPatterns(query, expectedPlan); } + + @Test + public void testForTransitiveFilterPushPastAgg() throws Exception { + String query = String.format("SELECT t1.`year` FROM %s t1 WHERE t1.`month` = 7 and t1.`period` = 2 and t1.`month` IN " + Review comment: Done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services