From 882206c0b6fd2acb59ee730ff0b18b01db674b93 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Mon, 14 Sep 2020 16:45:32 +0300 Subject: [PATCH] Update InterpreterInsertQuery.cpp --- src/Interpreters/InterpreterInsertQuery.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Interpreters/InterpreterInsertQuery.cpp b/src/Interpreters/InterpreterInsertQuery.cpp index 01fee30a445..5985a7fb7d6 100644 --- a/src/Interpreters/InterpreterInsertQuery.cpp +++ b/src/Interpreters/InterpreterInsertQuery.cpp @@ -93,6 +93,8 @@ Block InterpreterInsertQuery::getSampleBlock( } Block table_sample = metadata_snapshot->getSampleBlock(); + + /// Process column transformers (e.g. * EXCEPT(a)), asterisks and qualified columns. const auto & columns = metadata_snapshot->getColumns(); auto names_and_types = columns.getOrdinary(); removeDuplicateColumns(names_and_types);