You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "ankitsultana (via GitHub)" <gi...@apache.org> on 2023/03/07 22:41:37 UTC

[GitHub] [pinot] ankitsultana opened a new issue, #10392: [multistage] Filter Clause Not Pushed Down When More Than 1 Not-In

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

   Repro:
   
   ```
   EXPLAIN PLAN FOR select count(*) from userAttributes_OFFLINE WHERE deviceOS = 'mac-os' AND userUUID NOT IN (SELECT userUUID FROM userGroups_OFFLINE WHERE groupUUID = 'group-1') AND userUUID NOT IN (SELECT userUUID FROM userGroups_OFFLINE WHERE groupUUID = 'group-2')
   ```
   
   
   ```
   Execution Plan
   LogicalAggregate(group=[{}], EXPR$0=[$SUM0($0)])
     LogicalExchange(distribution=[hash])
       LogicalAggregate(group=[{}], EXPR$0=[COUNT()])
         LogicalFilter(condition=[IS NOT TRUE($5)])
           LogicalJoin(condition=[=($3, $4)], joinType=[left])
             LogicalExchange(distribution=[hash[3]])
               LogicalProject(deviceOS=[$0], userUUID0=[$2], $f1=[$4], userUUID2=[$1])
                 LogicalFilter(condition=[AND(=($0, 'mac-os'), IS NOT TRUE($4))])
                   LogicalJoin(condition=[=($2, $3)], joinType=[left])
                     LogicalExchange(distribution=[hash[2]])
                       LogicalProject(deviceOS=[$4], userUUID=[$5], userUUID0=[$5])
                         LogicalTableScan(table=[[userAttributes_OFFLINE]])
                     LogicalExchange(distribution=[hash[0]])
                       LogicalAggregate(group=[{0}], agg#0=[MIN($1)])
                         LogicalExchange(distribution=[hash[0]])
                           LogicalAggregate(group=[{0}], agg#0=[MIN($1)])
                             LogicalProject(userUUID=[$3], $f1=[true])
                               LogicalFilter(condition=[=($0, 'group-1')])
                                 LogicalTableScan(table=[[userGroups_OFFLINE]])
             LogicalExchange(distribution=[hash[0]])
               LogicalAggregate(group=[{0}], agg#0=[MIN($1)])
                 LogicalExchange(distribution=[hash[0]])
                   LogicalAggregate(group=[{0}], agg#0=[MIN($1)])
                     LogicalProject(userUUID=[$3], $f1=[true])
                       LogicalFilter(condition=[=($0, 'group-2')])
                         LogicalTableScan(table=[[userGroups_OFFLINE]])
   ```


-- 
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-unsubscribe@pinot.apache.org.apache.org

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


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


[GitHub] [pinot] ankitsultana closed issue #10392: [multistage] Filter Clause Not Pushed Down In Some Join Queries

Posted by "ankitsultana (via GitHub)" <gi...@apache.org>.
ankitsultana closed issue #10392: [multistage] Filter Clause Not Pushed Down In Some Join Queries
URL: https://github.com/apache/pinot/issues/10392


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] ankitsultana commented on issue #10392: [multistage] Filter Clause Not Pushed Down In Some Join Queries

Posted by "ankitsultana (via GitHub)" <gi...@apache.org>.
ankitsultana commented on issue #10392:
URL: https://github.com/apache/pinot/issues/10392#issuecomment-1648595685

   This was fixed by #10409 


-- 
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-unsubscribe@pinot.apache.org

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


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