> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# empty_result_* 会话设置

> ClickHouse empty_result_* 自动生成分组中的会话设置。

这些设置可在 [system.settings](https://clickhouse.com/docs/zh/reference/system-tables/settings.md) 中找到，并由 [源代码](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp) 自动生成。

## empty\_result\_for\_aggregation\_by\_constant\_keys\_on\_empty\_set

类型

Bool

默认值

1

对空集按常量键进行聚合时，返回空结果。

## empty\_result\_for\_aggregation\_by\_empty\_set

类型

Bool

默认值

0

在空集上进行无键聚合时，返回空结果。
