Skip to content

Commit 4a63cec

Browse files
committed
Fix ClickHouse test import to match new JDBC driver package layout
ClickHouseBinaryComparisonOperationTest still imported com.clickhouse.client.ClickHouseDataType. In ClickHouse JDBC driver 0.9.6 (commit 918e513, "Upgrade ClickHouse JDBC driver from 0.3.2 to 0.9.6") that class was moved to the com.clickhouse.data package along with all the production-side usages, but the test file was missed. Production code already imports it from the new package, so this aligns the test with the rest of the codebase. Without this fix every CI job on PR #5 fails at testCompile with "The import com.clickhouse.client.ClickHouseDataType cannot be resolved", e.g.: https://github.com/ClickHouse/sqlancer/actions/runs/25963851131/job/76323728978
1 parent bf57efd commit 4a63cec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/sqlancer/clickhouse/ast/ClickHouseBinaryComparisonOperationTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.Arrays;
66
import java.util.stream.Collectors;
77

8-
import com.clickhouse.client.ClickHouseDataType;
8+
import com.clickhouse.data.ClickHouseDataType;
99
import sqlancer.clickhouse.ast.constant.ClickHouseCreateConstant;
1010

1111
import static org.junit.jupiter.api.Assertions.assertEquals;

0 commit comments

Comments
 (0)