-
Notifications
You must be signed in to change notification settings - Fork 38.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ClickHouse in BuiltInBindMarkersFactoryProvider
#33947
Comments
BuiltInBindMarkersFactoryProvider
@eddumelendez I can probably perform related refinements to unlock future progresses on spring-data-r2dbc side. Just we need to decide which version we target. If you can submit a PR short term on Spring Data side, let's target Spring Framework 6.2, otherwise 7.0. Could you please share your timeline on Spring Data side? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
No problem, thanks for your feedback. @mp911de Could you please let us know what you plan to do on Spring Data side. If you plan to reconsider a related PR, we will do the change on Spring Framework side. If not, we will decline. |
I've revisited that topic with the data team. While we would like to broaden support to provide a better dev experience using ClickHouse (i.e. not requiring folks to provide their own config), we are in a situation where we cannot afford to fully maintain another database because of bandwidth on our side. We're barely able to fix some selected bugs. Another aspect plays into this as well. Having only a R2DBC dialect would be a simpler option than integrating the JDBC side because R2DBC has a smaller feature set. However, if we want to support ClickHouse, it would be required to do the same for the JDBC integration, which is much more complex. ClickHouse comes with all sorts of data types that require proper integration on our side. With that outlook, we have to expect additional feature requests that we would not be able to handle properly resulting in supporting partial database support that is not suitable for modern application usage. If there is sufficient ask for ClickHouse in the community to run on Spring, I suggest that ClickHouse would host a repository and ship binaries providing the configuration for Framework and Spring Data in the form of dialects and binding markers built on top of already existing SPI. |
Thanks @mp911de for the detailed feedback, I will then decline this issue. |
ClickHouse provides an r2dbc driver. Building a project with Testcontainers fails because of the following exception:
Add ClickHouse to the list
spring-framework/spring-r2dbc/src/main/java/org/springframework/r2dbc/core/binding/BindMarkersFactoryResolver.java
Lines 119 to 128 in 5e08a88
My workaround was to created my own provider and register it in spring.factories but it fails because it also needs to support the ClickHouse dialect in spring-data-r2dbc.
The text was updated successfully, but these errors were encountered: