mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Update InterpreterSelectQuery.cpp
This commit is contained in:
parent
e28bcbfcea
commit
e56553ef11
@ -77,7 +77,6 @@
|
|||||||
#include <Common/FieldVisitorToString.h>
|
#include <Common/FieldVisitorToString.h>
|
||||||
#include <Common/typeid_cast.h>
|
#include <Common/typeid_cast.h>
|
||||||
#include <Common/checkStackSize.h>
|
#include <Common/checkStackSize.h>
|
||||||
#include "Parsers/queryToString.h"
|
|
||||||
#include <base/map.h>
|
#include <base/map.h>
|
||||||
#include <base/scope_guard_safe.h>
|
#include <base/scope_guard_safe.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@ -1084,7 +1083,6 @@ void InterpreterSelectQuery::executeImpl(QueryPlan & query_plan, std::optional<P
|
|||||||
|
|
||||||
if (expressions.first_stage)
|
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
|
// 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.
|
// Thus, we don't actually need to check if projection is active.
|
||||||
if (!query_info.projection && expressions.filter_info)
|
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).
|
// now, on shard (first_stage).
|
||||||
if (query_analyzer->hasWindow())
|
if (query_analyzer->hasWindow())
|
||||||
{
|
{
|
||||||
std::cerr << "############# add window " << expressions.before_window->dumpDAG() << std::endl;
|
|
||||||
executeExpression(query_plan, expressions.before_window, "Before window functions");
|
executeExpression(query_plan, expressions.before_window, "Before window functions");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user