From 3f446b971388c757d48047c62432ae2fb86fb24a Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Sat, 10 Oct 2020 22:19:46 +0300 Subject: [PATCH] Fix build. --- src/Functions/tid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/tid.cpp b/src/Functions/tid.cpp index 1f41f959b2a..a42260f27d1 100644 --- a/src/Functions/tid.cpp +++ b/src/Functions/tid.cpp @@ -24,7 +24,7 @@ namespace void executeImpl(Block & block, const ColumnNumbers &, size_t result, size_t input_rows_count) const override { auto current_tid = getThreadId(); - block.getByPosition(result).column = DataTypeUInt64().createColumnConst(input_rows_count, current_tid); + block[result].column = DataTypeUInt64().createColumnConst(input_rows_count, current_tid); } };