sankarh commented on code in PR #4636:
URL: https://github.com/apache/hive/pull/4636#discussion_r1316042273


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -3603,7 +3603,20 @@ private Operator genFilterPlan(ASTNode searchCond, QB 
qb, Operator input,
          * push filters only for this QBJoinTree. Child QBJoinTrees have 
already been handled.
          */
         pushJoinFilters(qb, joinTree, aliasToOpInfo, false);
-        input = genJoinOperator(qbSQ, joinTree, aliasToOpInfo, input);
+        boolean notInCheck = (subQuery.getNotInCheck() != null)?true : false;
+        if(notInCheck && !qb.isMultiDestQuery()){

Review Comment:
   There is already a code flow at line 3578 that handles notInCheck. See if 
this code flow can be combined there.



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

Reply via email to