alex-plekhanov commented on code in PR #11410:
URL: https://github.com/apache/ignite/pull/11410#discussion_r1708859779
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/LogicalRelImplementor.java:
##########
@@ -172,6 +172,21 @@ public LogicalRelImplementor(
Node<Row> input = visit(rel.getInput());
+ if (distribution.function().affinity()) { // Affinity key can't be
null, so filter out null values.
+ assert distribution.getKeys().size() == 1 :
distribution.getKeys().size();
+
+ int affKey = distribution.getKeys().get(0);
+
+ if
(rel.getRowType().getFieldList().get(affKey).getType().isNullable()) {
Review Comment:
I think it's not possible, since `affKey` should be valid column index
rowType contains all required columns.
--
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]