From d1dcd0adbfa415afbe1fdd80f7964321955e1e0f Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 15 Dec 2021 11:44:18 +0300 Subject: [PATCH] Followup --- src/Parsers/tests/gtest_Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parsers/tests/gtest_Parser.cpp b/src/Parsers/tests/gtest_Parser.cpp index 193d8cc6127..20a581120dc 100644 --- a/src/Parsers/tests/gtest_Parser.cpp +++ b/src/Parsers/tests/gtest_Parser.cpp @@ -92,7 +92,7 @@ TEST_P(TableOverrideTest, applyOverrides) ASSERT_NE(nullptr, override_ast); auto override_table_ast = override_ast->as(); ASSERT_NE(nullptr, override_table_ast); - override->applyToCreateTableQuery(table); + override_table_ast->applyToCreateTableQuery(table); } EXPECT_EQ(expected_query, serializeAST(*table)); }