mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
merge_row_policy - extra debug
This commit is contained in:
parent
0464b4fd06
commit
2acc4c223d
@ -861,6 +861,8 @@ InterpreterSelectQuery::InterpreterSelectQuery(
|
||||
/// Add prewhere actions with alias columns and record needed columns from storage.
|
||||
if (storage)
|
||||
{
|
||||
LOG_TRACE(log, "calling addPrewhereAliasActions");
|
||||
|
||||
addPrewhereAliasActions();
|
||||
analysis_result.required_columns = required_columns;
|
||||
}
|
||||
|
@ -732,9 +732,13 @@ QueryPipelineBuilderPtr ReadFromMerge::createSources(
|
||||
|
||||
if (auto * read_from_merge_tree = typeid_cast<ReadFromMergeTree *>(plan.getRootNode()->step.get()))
|
||||
{
|
||||
LOG_TRACE(&Poco::Logger::get("ReadFromMerge::createSources"), "ReadFromMergeTree detected");
|
||||
size_t filters_dags_size = filter_dags.size();
|
||||
for (size_t i = 0; i < filters_dags_size; ++i)
|
||||
{
|
||||
LOG_TRACE(&Poco::Logger::get("ReadFromMerge::createSources"), "adding filter");
|
||||
read_from_merge_tree->addFilter(filter_dags[i], filter_nodes.nodes[i]);
|
||||
}
|
||||
}
|
||||
|
||||
builder = plan.buildQueryPipeline(
|
||||
|
Loading…
Reference in New Issue
Block a user