Aleksey Plekhanov created IGNITE-22590:
------------------------------------------
Summary: Calcite engine. Distribution by affinity function for
columns with null values fails
Key: IGNITE-22590
URL: https://issues.apache.org/jira/browse/IGNITE-22590
Project: Ignite
Issue Type: Bug
Reporter: Aleksey Plekhanov
Assignee: Aleksey Plekhanov
If one side of the join converted to distribution of another side by affinity
function there can be an errors like:
{noformat}
Caused by: java.lang.IllegalArgumentException: Null key is passed for a
partition calculation. Make sure that an affinity key that is used is
initialized properly.
at
org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction.partition(RendezvousAffinityFunction.java:506)
at
org.apache.ignite.internal.processors.query.calcite.trait.AffinityAdapter.applyAsInt(AffinityAdapter.java:46)
at
org.apache.ignite.internal.processors.query.calcite.trait.Partitioned.targets(Partitioned.java:42)
at
org.apache.ignite.internal.processors.query.calcite.exec.rel.Outbox.flush(Outbox.java:233)
at
org.apache.ignite.internal.processors.query.calcite.exec.rel.Outbox.push(Outbox.java:141)
{noformat}
If input to rehash contains null values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)