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-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