Update ExecutableDictionarySource.cpp

This commit is contained in:
alexey-milovidov 2021-01-31 01:29:36 +03:00 committed by Maksim Kita
parent ecd6e10e22
commit 77a8ef24de

View File

@ -74,7 +74,9 @@ ExecutableDictionarySource::ExecutableDictionarySource(
, context(context_)
{
/// Remove keys from sample_block for implicit_key dictionary because
/// these columns will not be provided by client
/// these columns will not be returned from source
/// Implicit key means that the source script will return only values,
/// and the correspondence to keys is determined implicitly - by the order of rows in the result.
if (implicit_key)
{
auto keys_names = dict_struct.getKeysNames();