Skip to content

Commit 737b071

Browse files
committed
Skip new-JSON tests on ClickHouse < 24.8
CI in mymarilyn/clickhouse-driver runs the matrix from 19.x to 25.5.x. The new ``JSON`` data type and its ``enable_json_type`` setting only exist from 24.8 onwards; on older servers the CLI flag is rejected outright and ``::JSON`` is the legacy ``Object('json')`` tuple. Bump ``required_server_version`` so the suite is skipped instead of failing on those rows. beep boop
1 parent 745d704 commit 737b071

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/columns/test_newjson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
class NewJSONTestCase(BaseTestCase):
5-
required_server_version = (22, 3, 2)
5+
required_server_version = (24, 8, 0)
66

77
def client_kwargs(self, version):
88
return {"settings": {"enable_json_type": True}}

0 commit comments

Comments
 (0)