mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
774744a86d
allow_experimental_projection_optimization requires one more InterpreterSelectQuery, which with enable_global_with_statement will apply ApplyWithAliasVisitor if the query is not subquery. But this should not be done for queries from MergeTreeData::getQueryProcessingStage()/getQueryProcessingStageWithAggregateProjections() since this will duplicate WITH statements over and over. This will also fix scalar.xml perf tests, that leads to the following error now: scalar.query0.prewarm0: DB::Exception: Stack size too large. And since it has very long query in the log, this leads to the following perf test error: _csv.Error: field larger than field limit (131072) Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com> |
||
---|---|---|
.. | ||
ci | ||
config | ||
fuzz | ||
instructions | ||
integration | ||
jepsen.clickhouse-keeper | ||
perf_drafts | ||
performance | ||
queries | ||
testflows | ||
.gitignore | ||
clickhouse-test | ||
CMakeLists.txt | ||
msan_suppressions.txt | ||
stress | ||
tsan_suppressions.txt | ||
ubsan_suppressions.txt |