Small changes

This commit is contained in:
Pavel Kruglov 2020-10-29 14:37:00 +03:00
parent 4d399fff3e
commit cf3f39ed29
2 changed files with 0 additions and 6 deletions

View File

@ -316,9 +316,7 @@ void ColumnLowCardinality::getPermutationImpl(bool reverse, size_t limit, int na
size_t unique_limit = getDictionary().size();
Permutation unique_perm;
if (collator)
{
getDictionary().getNestedColumn()->getPermutationWithCollation(*collator, reverse, unique_limit, nan_direction_hint, unique_perm);
}
else
getDictionary().getNestedColumn()->getPermutation(reverse, unique_limit, nan_direction_hint, unique_perm);

View File

@ -275,9 +275,7 @@ void ColumnNullable::getPermutationImpl(bool reverse, size_t limit, int null_dir
/// Cannot pass limit because of unknown amount of NULLs.
if (collator)
{
getNestedColumn().getPermutationWithCollation(*collator, reverse, 0, null_direction_hint, res);
}
else
getNestedColumn().getPermutation(reverse, 0, null_direction_hint, res);
@ -453,9 +451,7 @@ void ColumnNullable::updatePermutationImpl(bool reverse, size_t limit, int null_
}
if (collator)
{
getNestedColumn().updatePermutationWithCollation(*collator, reverse, limit, null_direction_hint, res, new_ranges);
}
else
getNestedColumn().updatePermutation(reverse, limit, null_direction_hint, res, new_ranges);