Skip to content

[r2dbc] Support ClickHouseDialect #1947

Closed as not planned
Closed as not planned
@eddumelendez

Description

@eddumelendez

ClickHouse provides an r2dbc driver. Building a project with Testcontainers fails because of the following exception:

Caused by: Caused by: org.springframework.data.r2dbc.dialect.DialectResolver$NoDialectException: Cannot determine a dialect for ClickHouse using ConnectionPool[ClickHouse]; Please provide a Dialect

Add ClickHouse to the list https://github.com/spring-projects/spring-data-relational/blob/main/spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/dialect/DialectResolver.java#L113-L120

I had to add my own provider because of spring-projects/spring-framework#33947 and register it in spring.factories to reach out to this issue.

Metadata

Metadata

Assignees

Labels

in: additional-dialectRequest for additional dialectsstatus: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions