Do not use parallel replicas with non-leftmost RIGHT join#84299
Do not use parallel replicas with non-leftmost RIGHT join#84299KochetovNicolai merged 2 commits intomasterfrom
Conversation
|
Workflow [PR], commit [16afd65] Summary: ❌
|
| } | ||
| else if ( | ||
| join_table_expression_node_type == QueryTreeNodeType::TABLE || join_table_expression_node_type == QueryTreeNodeType::TABLE_FUNCTION) | ||
| else if (join_table_expression_node_type == QueryTreeNodeType::TABLE || join_table_expression_node_type == QueryTreeNodeType::TABLE_FUNCTION) |
There was a problem hiding this comment.
Logical error is here, we do not handle JOIN for that query. We could add support of JOIN as well in this if, however query still fails with "unknown database _table_function" error
There was a problem hiding this comment.
I assume, unknown _table_function error is about remote() in subquery, see issue #74226
There was a problem hiding this comment.
Let's revisit after #84330 merged
It has been merged
|
00002_log_and_exception_messages_formatting and 01825_new_type_json_ghdata_insert_select are known to be broken |
Test was |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
LOGICAL_ERRORfor queries with parallel replicas and multiple INNER joins followed by RIGHT join. Do not use parallel replicas for such queriesClose #81144
Documentation entry for user-facing changes