testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

ClickHouse uses new driver if it is available and version is compatible

Open trolley813 opened this issue 3 years ago • 1 comments

A replacement for #5666 (related to the now-closed #6232). Now, ClickHouseContainer picks up the new com.clickhouse.jdbc.ClickHouseDriver driver if it is available and the version tag is 20.7 or later (as supported by the driver), otherwise it falls back to the legacy ru.yandex.clickhouse.ClickHouseDriver driver.

trolley813 avatar Nov 24 '22 17:11 trolley813

Oh, I forgot to run spotless after making changes. (Actually, the only violation were unsorted imports.) Now, it's probably ready.

trolley813 avatar Dec 06 '22 07:12 trolley813

Thanks for your contribution @trolley813 ! This is now is main branch and it will be available in the next release.

eddumelendez avatar Feb 01 '23 20:02 eddumelendez