@@ -466,6 +466,11 @@ public void writeArrayTests() throws Exception {
466466
467467 @ Test (groups = { "integration" })
468468 public void writeGeometryTests () throws Exception {
469+ if (!isVersionMatch ("[24.6,)" )) {
470+ System .out .println ("Skipping test: ClickHouse version is not compatible with LINESTRING type" );
471+ return ;
472+ }
473+
469474 String tableName = "rowBinaryFormatWriterTest_writeGeometryTests_" + UUID .randomUUID ().toString ().replace ('-' , '_' );
470475 String tableCreate = "CREATE TABLE \" " + tableName + "\" " +
471476 " (id Int32, " +
@@ -635,6 +640,11 @@ public void writeSimpleAggregateFunctionTests() throws Exception {
635640 //TODO: Currently experimental
636641 @ Test (groups = { "integration" })
637642 public void writeDynamicTests () throws Exception {
643+ if (!isVersionMatch ("[24.8,)" )) {
644+ System .out .println ("Skipping test: ClickHouse version is not compatible with DYNAMIC type" );
645+ return ;
646+ }
647+
638648 String tableName = "rowBinaryFormatWriterTest_writeDynamicTests_" + UUID .randomUUID ().toString ().replace ('-' , '_' );
639649 String tableCreate = "CREATE TABLE \" " + tableName + "\" " +
640650 " (id Int32, " +
@@ -683,6 +693,11 @@ public void writeJsonTests() throws Exception {
683693 //TODO: Currently experimental
684694 @ Test (groups = { "integration" })
685695 public void writeVariantTests () throws Exception {
696+ if (!isVersionMatch ("[24.8,)" )) {
697+ System .out .println ("Skipping test: ClickHouse version is not compatible with VARIANT type" );
698+ return ;
699+ }
700+
686701 String tableName = "rowBinaryFormatWriterTest_writeVariantTests_" + UUID .randomUUID ().toString ().replace ('-' , '_' );
687702 String tableCreate = "CREATE TABLE \" " + tableName + "\" " +
688703 " (id Int32, " +
0 commit comments