fix partial merge join with totals

This commit is contained in:
chertus 2019-09-23 17:37:42 +03:00
parent 9261d9d970
commit 016f3b0a45
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public:
/// Could be called from different threads in parallel.
virtual void joinBlock(Block & block) = 0;
virtual bool hasTotals() const { return false; }
virtual bool hasTotals() const = 0;
virtual void setTotals(const Block & block) = 0;
virtual void joinTotals(Block & block) const = 0;

View File

@ -24,6 +24,7 @@ public:
void joinBlock(Block &) override;
void joinTotals(Block &) const override;
void setTotals(const Block &) override;
bool hasTotals() const override { return totals; }
size_t getTotalRowCount() const override { return right_blocks_row_count; }
private: