v.21.12New Features
Support for 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 theBool 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.