Skip to content

Commit af9e682

Browse files
committed
added version check for recursive CTE test
1 parent 942a2c8 commit af9e682

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/PreparedStatementTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@ void testMultipleWithClauses() throws Exception {
360360

361361
@Test(groups = { "integration" })
362362
void testRecursiveWithClause() throws Exception {
363+
if (ClickHouseVersion.of(getServerVersion()).check("(,24.3]")) {
364+
return; // recursive CTEs were introduces in 24.4
365+
}
366+
363367
try (Connection conn = getJdbcConnection();
364368
PreparedStatement stmt = conn.prepareStatement(
365369
"WITH RECURSIVE numbers AS (" +

0 commit comments

Comments
 (0)