fix typo in tryInitDictJoin

This commit is contained in:
vdimir 2021-06-29 13:11:01 +03:00
parent 450e49fd28
commit 2a1c7d7336
No known key found for this signature in database
GPG Key ID: F57B3E10A21DBB31

View File

@ -358,7 +358,7 @@ bool TableJoin::tryInitDictJoin(const Block & sample_block, ContextPtr context)
if (!right_storage_dictionary)
return false;
auto dict_name = right_storage_dictionary->getName();
auto dict_name = right_storage_dictionary->getDictionaryName();
auto dict_key = getDictKeyName(dict_name, context);
if (!dict_key.has_value() || *dict_key != it_key->second)