jihoonson commented on a change in pull request #9545: SQL support for joins on 
subqueries.
URL: https://github.com/apache/druid/pull/9545#discussion_r395896036
 
 

 ##########
 File path: sql/src/test/java/org/apache/druid/sql/calcite/CalciteQueryTest.java
 ##########
 @@ -4841,10 +4982,12 @@ public void testCountStarWithDegenerateFilter() throws 
Exception
   @Test
   public void testCountStarWithNotOfDegenerateFilter() throws Exception
   {
+    // This query is evaluated in the planner (no native queries are issued) 
due to the degenerate filter.
+
     testQuery(
         "SELECT COUNT(*) FROM druid.foo WHERE dim2 = 'a' and not (dim1 > 'a' 
OR dim1 < 'b')",
         ImmutableList.of(),
-        ImmutableList.of(new Object[]{0L})
+        ImmutableList.of()
 
 Review comment:
   Seems like the same Calcite issue.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to