dlt.destinations.impl.clickhouse.factory
ClickHouseTypeMapper Objects
class ClickHouseTypeMapper(TypeMapperImpl)
to_db_datetime_type
def to_db_datetime_type(column: TColumnSchema,
table: PreparedTableSchema = None) -> str
Map timestamp type to appropriate ClickHouse datetime type with or without timezone.
to_db_integer_type
def to_db_integer_type(column: TColumnSchema,
table: PreparedTableSchema = None) -> str
Map integer precision to the appropriate ClickHouse integer type.