From 2d6c0ae0d1072454b91c5c550a612a004375c105 Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Wed, 19 Jan 2022 21:02:13 +0900 Subject: [PATCH] Add comment for clickhouse.map-string-as-varchar in ClickHouse tests --- .../plugin/clickhouse/TestClickHouseConnectorSmokeTest.java | 2 +- .../clickhouse/TestClickHouseLatestConnectorSmokeTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorSmokeTest.java b/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorSmokeTest.java index a8bdbafc11b0..c9dd65178074 100644 --- a/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorSmokeTest.java +++ b/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorSmokeTest.java @@ -34,7 +34,7 @@ protected QueryRunner createQueryRunner() clickHouseServer, ImmutableMap.of(), ImmutableMap.builder() - .put("clickhouse.map-string-as-varchar", "true") + .put("clickhouse.map-string-as-varchar", "true") // To handle string types in TPCH tables as varchar instead of varbinary .buildOrThrow(), REQUIRED_TPCH_TABLES); } diff --git a/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseLatestConnectorSmokeTest.java b/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseLatestConnectorSmokeTest.java index 60928b066746..a2b7892ea261 100644 --- a/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseLatestConnectorSmokeTest.java +++ b/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseLatestConnectorSmokeTest.java @@ -30,7 +30,7 @@ protected QueryRunner createQueryRunner() closeAfterClass(new TestingClickHouseServer(CLICKHOUSE_LATEST_IMAGE)), ImmutableMap.of(), ImmutableMap.builder() - .put("clickhouse.map-string-as-varchar", "true") + .put("clickhouse.map-string-as-varchar", "true") // To handle string types in TPCH tables as varchar instead of varbinary .buildOrThrow(), REQUIRED_TPCH_TABLES); }