Added comment.

This commit is contained in:
Nikolai Kochetov 2020-03-11 21:35:14 +03:00
parent 969ed1fcd8
commit 78d350bbaa

View File

@ -9,6 +9,8 @@ namespace DB
class LimitTransform : public IProcessor
{
public:
/// Common counter of read rows. It is shared between several streams.
/// Is used for pre-limit. Needed to skip main limit phase and avoid the resizing pipeline to single stream.
struct LimitState
{
std::atomic<size_t> total_read_rows = 0;