mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix error
This commit is contained in:
parent
c41dedc922
commit
494c2dba6c
@ -313,7 +313,9 @@ void ColumnLowCardinality::compareColumn(const IColumn & rhs, size_t rhs_row_num
|
||||
|
||||
bool ColumnLowCardinality::hasEqualValues() const
|
||||
{
|
||||
return getDictionary().size() <= 1;
|
||||
if (getDictionary().size() <= 1)
|
||||
return true;
|
||||
return getIndexes().hasEqualValues();
|
||||
}
|
||||
|
||||
void ColumnLowCardinality::getPermutationImpl(bool reverse, size_t limit, int nan_direction_hint, Permutation & res, const Collator * collator) const
|
||||
|
Loading…
Reference in New Issue
Block a user