From 42c543a64d77434d431fc5d7b43fd17c08e09986 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Wed, 16 Sep 2020 17:58:54 +0300 Subject: [PATCH] Fix GenericSource --- src/Functions/GatherUtils/Sources.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/GatherUtils/Sources.h b/src/Functions/GatherUtils/Sources.h index cc7f2b662b6..2795b7ac4ed 100644 --- a/src/Functions/GatherUtils/Sources.h +++ b/src/Functions/GatherUtils/Sources.h @@ -573,7 +573,7 @@ struct GenericArraySource : public ArraySourceImpl size_t getSizeForReserve() const override { - return elements.size(); + return offsets.size(); } size_t getColumnSize() const override