Konstantin Orlov created IGNITE-18211: -----------------------------------------
Summary: Sql. Adjust Affinity distribution to the new colocation rules Key: IGNITE-18211 URL: https://issues.apache.org/jira/browse/IGNITE-18211 Project: Ignite Issue Type: Improvement Components: sql Reporter: Konstantin Orlov Need to adjust affinity function to be prepared to upcoming concept of [Distribution Zones|https://issues.apache.org/jira/browse/IGNITE-17924]. Following changes are required: * AffinityFunction has to be updated with id (name) of the distribution zone * (De-)Serialization of the DistributionFunction need to be adjusted as well * Integration with table Besides, it looks like the following condition is no more valid, thus should be removed: {code:java} // org.apache.ignite.internal.sql.engine.trait.TraitUtils#convertDistribution if (toTrait.function().affinity() && toTrait.getKeys().size() > 1) { return null; } {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)