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(); size_t unique_limit = getDictionary().size();
Permutation unique_perm; Permutation unique_perm;
if (collator) if (collator)
{
getDictionary().getNestedColumn()->getPermutationWithCollation(*collator, reverse, unique_limit, nan_direction_hint, unique_perm); getDictionary().getNestedColumn()->getPermutationWithCollation(*collator, reverse, unique_limit, nan_direction_hint, unique_perm);
}
else else
getDictionary().getNestedColumn()->getPermutation(reverse, unique_limit, nan_direction_hint, unique_perm); 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. /// Cannot pass limit because of unknown amount of NULLs.
if (collator) if (collator)
{
getNestedColumn().getPermutationWithCollation(*collator, reverse, 0, null_direction_hint, res); getNestedColumn().getPermutationWithCollation(*collator, reverse, 0, null_direction_hint, res);
}
else else
getNestedColumn().getPermutation(reverse, 0, null_direction_hint, res); getNestedColumn().getPermutation(reverse, 0, null_direction_hint, res);
@ -453,9 +451,7 @@ void ColumnNullable::updatePermutationImpl(bool reverse, size_t limit, int null_
} }
if (collator) if (collator)
{
getNestedColumn().updatePermutationWithCollation(*collator, reverse, limit, null_direction_hint, res, new_ranges); getNestedColumn().updatePermutationWithCollation(*collator, reverse, limit, null_direction_hint, res, new_ranges);
}
else else
getNestedColumn().updatePermutation(reverse, limit, null_direction_hint, res, new_ranges); getNestedColumn().updatePermutation(reverse, limit, null_direction_hint, res, new_ranges);