Update InterpreterSelectQuery.cpp

This commit is contained in:
Nikolai Kochetov 2021-12-16 21:18:35 +03:00 committed by GitHub
parent e28bcbfcea
commit e56553ef11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,6 @@
#include <Common/FieldVisitorToString.h>
#include <Common/typeid_cast.h>
#include <Common/checkStackSize.h>
#include "Parsers/queryToString.h"
#include <base/map.h>
#include <base/scope_guard_safe.h>
#include <memory>
@ -1084,7 +1083,6 @@ void InterpreterSelectQuery::executeImpl(QueryPlan & query_plan, std::optional<P
if (expressions.first_stage)
{
std::cerr << "######### first stage for " << queryToString(getSelectQuery()) << std::endl;
// If there is a storage that supports prewhere, this will always be nullptr
// Thus, we don't actually need to check if projection is active.
if (!query_info.projection && expressions.filter_info)
@ -1204,7 +1202,6 @@ void InterpreterSelectQuery::executeImpl(QueryPlan & query_plan, std::optional<P
// now, on shard (first_stage).
if (query_analyzer->hasWindow())
{
std::cerr << "############# add window " << expressions.before_window->dumpDAG() << std::endl;
executeExpression(query_plan, expressions.before_window, "Before window functions");
}
else