mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Fix DistinctTransform keys.
This commit is contained in:
parent
54b15385bd
commit
8400987fb5
@ -28,7 +28,7 @@ DistinctTransform::DistinctTransform(
|
||||
auto & col = header.getByPosition(pos).column;
|
||||
|
||||
if (!(col && col->isColumnConst()))
|
||||
key_columns_pos.emplace_back();
|
||||
key_columns_pos.emplace_back(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user