xtern commented on code in PR #2397:
URL: https://github.com/apache/ignite-3/pull/2397#discussion_r1286744571
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/TableModifyConverterRule.java:
##########
@@ -126,4 +138,34 @@ private static PhysicalNode
createAggregate(IgniteTableModify tableModify, RelOp
return new IgniteProject(cluster,
outTrait.replace(IgniteDistributions.single()), sumAgg, projections,
convertedRowType);
}
+
+ /**
+ * To perform delete we need row with key fields only.
+ * But input distribution contains the indexes of the key columns
according to the schema (i.e. for the full row).
+ * This method aligns the keys to their indexes so that a row containing
only the key fields can be read.
+ *
+ * <pre>
Review Comment:
Expanded javadoc with more descriptive examples.
--
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]