pgaref commented on a change in pull request #1286: URL: https://github.com/apache/hive/pull/1286#discussion_r578636105
########## File path: ql/src/java/org/apache/hadoop/hive/ql/parse/TezCompiler.java ########## @@ -1589,13 +1588,17 @@ private void removeSemijoinsParallelToMapJoin(OptimizeTezProcContext procCtx) List<ExprNodeDesc> keyDesc = selectedMJOp.getConf().getKeys().get(posBigTable); ExprNodeColumnDesc keyCol = (ExprNodeColumnDesc) keyDesc.get(0); - String realTSColName = OperatorUtils.findTableColNameOf(selectedMJOp, keyCol.getColumn()); - if (realTSColName != null) { + ExprNodeColumnDesc originTSColExpr = OperatorUtils.findTableOriginColExpr(keyCol, selectedMJOp, tsOp); + if (originTSColExpr == null) { + LOG.warn("ProbeDecode could not find origTSCol for mjCol: {} with MJ Schema: {}", Review comment: Yeah, always had this in the back of my head. Opened HIVE-24793 to track ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org