mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
dbms: fix error in populating attributes. [#METR-13298]
This commit is contained in:
parent
616f8d03dc
commit
a8c2d66076
@ -51,7 +51,7 @@ public:
|
||||
const auto & attribute_column = *block.getByPosition(attribute_idx).column;
|
||||
auto & attribute = attributes[dict_struct.attributes[attribute_idx - 1].name];
|
||||
|
||||
for (const auto row_idx : ext::range(1, attribute_column.size()))
|
||||
for (const auto row_idx : ext::range(0, id_column.size()))
|
||||
setAttributeValue(attribute, id_column[row_idx].get<UInt64>(), attribute_column[row_idx]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user