Skip to content

Commit

Permalink
Updating setting for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Paultagoras committed Mar 15, 2024
1 parent f8e5611 commit 3b0b5bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ public void testPrimitiveArray(String baseType, Object expectedValues) throws Cl
String tableColumns = String.format("a1 Array(%1$s), a2 Array(Array(%1$s)), a3 Array(Array(Array(%1$s)))",
baseType);
sendAndWait(server, "drop table if exists " + tableName,
"create table " + tableName + " (" + tableColumns + ")engine=Memory",
"create table " + tableName + " (" + tableColumns + ")engine=Memory SETTINGS allow_suspicious_low_cardinality_types=1",
"insert into " + tableName + String.format(
" values(%2$s, [[123],[],[4], %2$s], [[[12],[3],[],[4,5]],[[123],[],[4], %2$s]])", baseType,
ClickHouseColumn.of("", ClickHouseDataType.Array, false,
Expand Down

0 comments on commit 3b0b5bb

Please sign in to comment.