We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4774ae6 commit e18e24fCopy full SHA for e18e24f
ydb/core/tx/columnshard/engines/reader/duplicates/manager.cpp
@@ -27,8 +27,8 @@ std::vector<ui64> TRangeIndex::FindIntersections(const ui64 p) const {
27
28
void TIntervalCounter::PropagateDelta(const TPosition& node) {
29
if (PropagatedDeltas[node.GetIndex()]) {
30
- Count[node.GetIndex() * 2 + 1] += PropagatedDeltas[node.GetIndex()] * node.IntervalSize();
31
- Count[node.GetIndex() * 2 + 2] += PropagatedDeltas[node.GetIndex()] * node.IntervalSize();
+ Count[node.GetIndex() * 2 + 1] += PropagatedDeltas[node.GetIndex()] * (node.IntervalSize() / 2);
+ Count[node.GetIndex() * 2 + 2] += PropagatedDeltas[node.GetIndex()] * (node.IntervalSize() / 2);
32
PropagatedDeltas[node.GetIndex()] = 0;
33
}
34
0 commit comments