提交 7d58992e 编写于 作者: A Alexander Tokmakov

fix select count()

上级 72b13396
......@@ -1114,6 +1114,7 @@ void InterpreterSelectQuery::executeFetchColumns(
bool optimize_trivial_count =
syntax_analyzer_result->optimize_trivial_count
&& storage
&& storage->getName() != "MaterializeMySQL"
&& !filter_info
&& processing_stage == QueryProcessingStage::FetchColumns
&& query_analyzer->hasAggregation()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册