mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Merge pull request #21658 from vdimir/fix-joins_in_memory
This commit is contained in:
commit
b2a6a8feb8
@ -136,7 +136,7 @@ std::optional<size_t> getIdentMembership(const ASTIdentifier & ident, const std:
|
|||||||
std::optional<size_t> table_pos = IdentifierSemantic::getMembership(ident);
|
std::optional<size_t> table_pos = IdentifierSemantic::getMembership(ident);
|
||||||
if (table_pos)
|
if (table_pos)
|
||||||
return table_pos;
|
return table_pos;
|
||||||
return IdentifierSemantic::chooseTableColumnMatch(ident, tables);
|
return IdentifierSemantic::chooseTableColumnMatch(ident, tables, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<size_t> getIdentsMembership(const ASTPtr ast,
|
std::optional<size_t> getIdentsMembership(const ASTPtr ast,
|
||||||
|
Loading…
Reference in New Issue
Block a user