korlov42 commented on code in PR #1381:
URL: https://github.com/apache/ignite-3/pull/1381#discussion_r1036010734
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/schema/TableDescriptorImpl.java:
##########
@@ -127,7 +135,7 @@ public RelDataType deleteRowType(IgniteTypeFactory factory)
{
/** {@inheritDoc} */
@Override
public IgniteDistribution distribution() {
- return IgniteDistributions.random();
+ return IgniteDistributions.affinity(colocationColumns, 0,
dummyAffinityIdentity);
Review Comment:
I've added comment explaining such choice. Also check please comment in
beginning of the class
--
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]