ClickHouse has a Bool type distinct from UInt8. clickhouse-cpp currently has no Type::Code::Bool — Bool columns are silently handled as UInt8. pg_clickhouse maps Bool to PostgreSQL BOOLEAN at the schema level, but the binary driver has no way to distinguish Bool from UInt8 at the wire level, which causes type mismatches during reads.
ClickHouse has a Bool type distinct from UInt8. clickhouse-cpp currently has no Type::Code::Bool — Bool columns are silently handled as UInt8. pg_clickhouse maps Bool to PostgreSQL BOOLEAN at the schema level, but the binary driver has no way to distinguish Bool from UInt8 at the wire level, which causes type mismatches during reads.