mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Fix clang-tidy
This commit is contained in:
parent
64f947c3d7
commit
a6ee9a98f5
@ -69,9 +69,6 @@ ASTPtr getASTForExternalDatabaseFromQueryTree(const QueryTreeNodePtr & query_tre
|
|||||||
bool allow_where = true;
|
bool allow_where = true;
|
||||||
if (const auto * join_node = join_tree->as<JoinNode>())
|
if (const auto * join_node = join_tree->as<JoinNode>())
|
||||||
{
|
{
|
||||||
if (join_node->getStrictness() != JoinStrictness::All)
|
|
||||||
allow_where = false;
|
|
||||||
|
|
||||||
if (join_node->getKind() == JoinKind::Left)
|
if (join_node->getKind() == JoinKind::Left)
|
||||||
allow_where = join_node->getLeftTableExpression()->isEqual(*table_expression);
|
allow_where = join_node->getLeftTableExpression()->isEqual(*table_expression);
|
||||||
else if (join_node->getKind() == JoinKind::Right)
|
else if (join_node->getKind() == JoinKind::Right)
|
||||||
|
Loading…
Reference in New Issue
Block a user