zstan commented on code in PR #11459: URL: https://github.com/apache/ignite/pull/11459#discussion_r1699647740
########## docs/_docs/SQL/distributed-joins.adoc: ########## @@ -36,6 +36,27 @@ The following image illustrates the procedure of executing a colocated join. A c image::images/collocated_joins.png[] +=== Limitations + +Collocation joins have the following known limitations: + +==== OUTER JOIN and REPLICATED Tables + +There is currently a limitation in Ignite's support of `OUTER JOIN`. Given a `REPLICATED` table `R` +and a `PARTITIONED` table `P`, the following queries may not work correctly out-of-the-box and require special handling: + +- `SELECT * FROM R LEFT JOIN P ON R.X = P.X` +- `SELECT * FROM P RIGHT JOIN R ON P.X = R.X` + +To work around the limitation, the following setup is required: + +- `P` and `R` need to have equal affinity functions (specifically, the same number of partitions); +- Caches for both `P` and `R` need to have equal node filter; Review Comment: equal or both caches have default NF -- 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]
