Skip to content

Commit b1706dc

Browse files
committed
Fix test failures on 21.3 and 21.8
1 parent 27dfc0c commit b1706dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clickhouse-jdbc/src/test/java/com/clickhouse/jdbc/ClickHousePreparedStatementTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,12 @@ public void testInsertDefaultValue(String columnType, String defaultExpr, String
10521052
Assert.assertFalse(rs.next(), "Should have only 3 rows");
10531053
}
10541054
Assert.assertEquals(rowCount, 3);
1055+
} catch (SQLException e) {
1056+
// 'Unknown data type family' or 'Missing columns'
1057+
if (e.getErrorCode() == 50 || e.getErrorCode() == 47) {
1058+
return;
1059+
}
1060+
throw e;
10551061
}
10561062
}
10571063

0 commit comments

Comments
 (0)