Skip to content

Commit

Permalink
Upgrade minimum supported Altinity to version 20.8
Browse files Browse the repository at this point in the history
Altinity server 20.3 hasn't yet reached EOL, but ClickHouse JDBC
driver doesn't support it.
  • Loading branch information
ebyhr committed Feb 8, 2022
1 parent 30355b9 commit 0196018
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/connector/clickhouse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Requirements

To connect to a ClickHouse server, you need:

* ClickHouse (version 21.3 or higher) or Altinity (version 20.3 or higher).
* ClickHouse (version 21.3 or higher) or Altinity (version 20.8 or higher).
* Network access from the Trino coordinator and workers to the ClickHouse
server. Port 8123 is the default port.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ protected QueryRunner createQueryRunner()
@Override
public void testRenameSchema()
{
// Override because RENAME DATABASE statement isn't supported in version < v20.7.2.30-stable
// Override because RENAME DATABASE statement isn't supported in Altinity 20.8
assertThatThrownBy(super::testRenameSchema)
.hasMessageMatching("ClickHouse exception, code: 62,.* Syntax error.*\\n");
.hasMessageMatching("ClickHouse exception, code: 48,.* RENAME DATABASE is not supported.*\\n");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class TestingClickHouseServer
// Altinity Stable Builds Life-Cycle Table https://docs.altinity.com/altinitystablebuilds/#altinity-stable-builds-life-cycle-table
private static final DockerImageName ALTINITY_IMAGE = DockerImageName.parse("altinity/clickhouse-server").asCompatibleSubstituteFor("yandex/clickhouse-server");
public static final DockerImageName ALTINITY_LATEST_IMAGE = ALTINITY_IMAGE.withTag("21.8.13.1.altinitystable");
public static final DockerImageName ALTINITY_DEFAULT_IMAGE = ALTINITY_IMAGE.withTag("20.3.12-aes"); // EOL is 24 June 2022
public static final DockerImageName ALTINITY_DEFAULT_IMAGE = ALTINITY_IMAGE.withTag("20.8.4.11_aes"); // EOL is 02 December 2022

private final ClickHouseContainer dockerContainer;

Expand Down

0 comments on commit 0196018

Please sign in to comment.