Skip to content

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

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

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions