Skip to content

Add Bool type support (distinct from UInt8) #476

@iskakaushik

Description

@iskakaushik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpg_clickhouseNeeded by the pg_clickhouse PostgreSQL FDW

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions