From e32ed075c8a24bb19d82afd708310a6c9550856d Mon Sep 17 00:00:00 2001 From: Alexander Tokmakov Date: Fri, 24 May 2019 06:13:18 +0300 Subject: [PATCH] Force disable interpreting expressions without template to check if some tests fail --- dbms/src/Formats/ValuesBlockInputStream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dbms/src/Formats/ValuesBlockInputStream.cpp b/dbms/src/Formats/ValuesBlockInputStream.cpp index 995543d2f44..e16bf619060 100644 --- a/dbms/src/Formats/ValuesBlockInputStream.cpp +++ b/dbms/src/Formats/ValuesBlockInputStream.cpp @@ -41,6 +41,7 @@ ValuesBlockInputStream::ValuesBlockInputStream(ReadBuffer & istr_, const Block & templates.resize(header.columns()); /// In this format, BOM at beginning of stream cannot be confused with value, so it is safe to skip it. skipBOMIfExists(istr); + const_cast(this->format_settings).values.interpret_expressions = false; } Block ValuesBlockInputStream::readImpl()