clintropolis commented on code in PR #15101:
URL: https://github.com/apache/druid/pull/15101#discussion_r1348293420
##########
processing/src/test/java/org/apache/druid/segment/UnnestStorageAdapterTest.java:
##########
@@ -516,6 +516,30 @@ public void test_not_pushdown_not_filter()
);
}
+ @Test
+ public void testCannotPushdown()
+ {
+ final Filter testQueryFilter = and(ImmutableList.of(
+ not(selector(OUTPUT_COLUMN_NAME, "3")),
+ or(ImmutableList.of(
+ or(ImmutableList.of(
+ selector("newcol", "2"),
+ selector(COLUMNNAME, "2"),
+ and(ImmutableList.of(
+ selector("newcol", "3"),
+ selector(COLUMNNAME, "7")
+ ))
+ )),
+ selector(OUTPUT_COLUMN_NAME, "1")
+ ))
+ ));
+ testComputeBaseAndPostUnnestFilters(
+ testQueryFilter,
Review Comment:
oops, i started to write a test by copying a test and then didn't change
anything, my bad, will fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]