Update TTLAggregationAlgorithm.cpp

This commit is contained in:
Nikita Mikhaylov 2023-12-27 17:02:52 +01:00 committed by GitHub
parent ac87daf8c3
commit a3fa378401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,8 +100,8 @@ void TTLAggregationAlgorithm::execute(Block & block)
}
}
/// We are observing the row with new aggregation key.
/// In this case we definitely need to finish the current aggregation for the previuos key
/// We are observing the row with new the aggregation key.
/// In this case we definitely need to finish the current aggregation for the previuos key and
/// write results to `result_columns`.
const bool observing_new_key = !same_as_current;
/// We are observing the row with the same aggregation key, but TTL is not expired anymore.