diff --git a/client-v2/src/test/java/com/clickhouse/client/insert/InsertClientContentCompressionTests.java b/client-v2/src/test/java/com/clickhouse/client/insert/InsertClientContentCompressionTests.java index 916197d2f..fa46d071e 100644 --- a/client-v2/src/test/java/com/clickhouse/client/insert/InsertClientContentCompressionTests.java +++ b/client-v2/src/test/java/com/clickhouse/client/insert/InsertClientContentCompressionTests.java @@ -43,7 +43,7 @@ public void testInsertAndReadBackWithSecureConnection() { initTable(tableName, createSQL); - client.register(SamplePOJO.class, client.getTableSchema(tableName, "default")); + client.register(SamplePOJO.class, client.getTableSchema(tableName)); InsertSettings settings = new InsertSettings() .setDeduplicationToken(RandomStringUtils.randomAlphabetic(36)) .setQueryId(String.valueOf(UUID.randomUUID()));