Skip to content

[jdbc-v2] Add support of custom type mapping via properties #2858

@chernser

Description

@chernser

Description

There is a typeMappings in V1 that allows user to set custom type mapping

See example: https://github.com/ClickHouse/clickhouse-tableau-connector-jdbc/blob/5dbd2b1f78e93dc8e0e95cf16460c3d50bf83743/clickhouse_jdbc/connectionBuilder.js#L39

JDBC V2 has another format of properties. In this case we need to add a new one jdbc_type_map and support typeMappings but mark as deprecated.

JDBC driver should parser string and create a type mapping that should be followed by ResultSet implementaion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:generalgeneral issue without a specific area.bugjdbc-v2jdbc-v2 issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions