v.20.1New Feature
Add any_join_distinct_right_table_keys Setting for ANY INNER JOIN Behavior
Add settingany_join_distinct_right_table_keyswhich enables old behaviour forANY INNER JOIN. #7665 (Artem Zuikov)
Why it matters
This setting addresses changes inANY INNER JOIN semantics by allowing users to revert to the previous join behavior, preserving compatibility and expected query results for existing workloads.How to use it
To use the oldANY INNER JOIN behavior, set the parameter any_join_distinct_right_table_keys to 1 in the session, user profile, or configuration file. For example:SET any_join_distinct_right_table_keys = 1;This will enable the legacy join semantics for the duration of the session or until the setting is changed.