siddharthteotia opened a new issue, #10676:
URL: https://github.com/apache/pinot/issues/10676

   Creating this to track issue received in user feedback. Yet to take a look
   
   NOT IN subquery not working
   
   Query:
   
   ```
   SET useMultistageEngine=true;
   select DISTINCT(orderID) from foodOrderFact where orderState = 'NEW' and 
orderID NOT in (select DISTINCT(orderID) from foodOrderFact where orderState != 
'NEW');
   ```
   
   ```
   Exception in server:
   Caused by: java.lang.NullPointerException: Cannot find function with Name: 
IS NOT TRUE
       at 
org.apache.pinot.shaded.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
       at 
org.apache.pinot.query.runtime.operator.operands.FunctionOperand.<init>(FunctionOperand.java:50)
       at 
org.apache.pinot.query.runtime.operator.operands.TransformOperand.toTransformOperand(TransformOperand.java:134)
       at 
org.apache.pinot.query.runtime.operator.operands.TransformOperand.toTransformOperand(TransformOperand.java:38)
       at 
org.apache.pinot.query.runtime.operator.FilterOperator.<init>(FilterOperator.java:58)
       at 
org.apache.pinot.query.runtime.plan.PhysicalPlanVisitor.visitFilter(PhysicalPlanVisitor.java:94)
   ```


-- 
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: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to