From edd2477ca79356450303c5d1cc11280c38a8bb8f Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Fri, 31 Jan 2020 19:32:00 +0300 Subject: [PATCH] Processors support for StorageMerge reading. --- dbms/src/DataStreams/narrowBlockInputStreams.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dbms/src/DataStreams/narrowBlockInputStreams.cpp b/dbms/src/DataStreams/narrowBlockInputStreams.cpp index cbfeb71dfc0..370528d727c 100644 --- a/dbms/src/DataStreams/narrowBlockInputStreams.cpp +++ b/dbms/src/DataStreams/narrowBlockInputStreams.cpp @@ -20,6 +20,7 @@ namespace distribution[i] = i % to; std::shuffle(distribution.begin(), distribution.end(), thread_local_rng); + return distribution; } }