kasakrisz commented on code in PR #4943:
URL: https://github.com/apache/hive/pull/4943#discussion_r1487408972
##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/views/HiveAggregateInsertDeleteIncrementalRewritingRule.java:
##########
@@ -116,7 +121,7 @@ protected IncrementalComputePlanWithDeletedRows
createJoinRightInput(RelOptRuleC
aggInput = HiveHepExtractRelNodeRule.execute(aggInput);
aggInput = new HiveRowIsDeletedPropagator(relBuilder).propagate(aggInput);
- int rowIsDeletedIdx = aggInput.getRowType().getFieldCount() - 1;
+ int rowIsDeletedIdx = aggInput.getRowType().getFieldCount() - 2;
Review Comment:
Added comment.
--
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]