Fix ambigous column error in joins_in_memory

This commit is contained in:
vdimir 2021-03-12 12:56:43 +03:00
parent 08f312b1c4
commit 0eba776fa6
No known key found for this signature in database
GPG Key ID: F57B3E10A21DBB31

View File

@ -136,7 +136,7 @@ std::optional<size_t> getIdentMembership(const ASTIdentifier & ident, const std:
std::optional<size_t> table_pos = IdentifierSemantic::getMembership(ident);
if (table_pos)
return table_pos;
return IdentifierSemantic::chooseTableColumnMatch(ident, tables);
return IdentifierSemantic::chooseTableColumnMatch(ident, tables, true);
}
std::optional<size_t> getIdentsMembership(const ASTPtr ast,