v.21.12New Features

Support for Bool Data Type in ClickHouse

Support for Bool data type. #31072 (kevin wan).
Added support for the Bool data type in ClickHouse.

Why it matters

This feature introduces native Boolean data type support, allowing users to store and manipulate boolean values efficiently. It simplifies handling true/false data and improves compatibility with other systems that use boolean types.

How to use it

Use the Bool data type in table definitions and queries to represent boolean values. For example: CREATE TABLE example (flag Bool). Boolean values can be used directly in SELECT, WHERE, and other SQL clauses.