diff --git a/docs/en/sql-reference/data-types/boolean.md b/docs/en/sql-reference/data-types/boolean.md index a20e30777af..a21b1c41a21 100644 --- a/docs/en/sql-reference/data-types/boolean.md +++ b/docs/en/sql-reference/data-types/boolean.md @@ -5,6 +5,8 @@ sidebar_label: Boolean # Boolean Values {#boolean-values} -There is no separate type for boolean values. Use UInt8 type, restricted to the values 0 or 1. +Since https://github.com/ClickHouse/ClickHouse/commit/4076ae77b46794e73594a9f400200088ed1e7a6e , there be a separate type for boolean values. + +For versions before that, there is no separate type for boolean values. Use UInt8 type, restricted to the values 0 or 1. [Original article](https://clickhouse.com/docs/en/data_types/boolean/) diff --git a/docs/zh/sql-reference/data-types/boolean.md b/docs/zh/sql-reference/data-types/boolean.md index 99aacad23a9..bd0a1ee7312 100644 --- a/docs/zh/sql-reference/data-types/boolean.md +++ b/docs/zh/sql-reference/data-types/boolean.md @@ -1,3 +1,5 @@ # 布尔值 {#boolean-values} -没有单独的类型来存储布尔值。可以使用 UInt8 类型,取值限制为 0 或 1。 +从 https://github.com/ClickHouse/ClickHouse/commit/4076ae77b46794e73594a9f400200088ed1e7a6e 之后,有单独的类型来存储布尔值。 + +在此之前的版本,没有单独的类型来存储布尔值。可以使用 UInt8 类型,取值限制为 0 或 1。