From 1ca04e3363b63769c83f8cf5ebb5e1b7424696d6 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 21 Oct 2024 08:25:17 +0200 Subject: [PATCH] [jOOQ/jOOQ#7539] Mark ClickHouse dialect as experimental --- jOOQ/src/main/java/org/jooq/SQLDialect.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jOOQ/src/main/java/org/jooq/SQLDialect.java b/jOOQ/src/main/java/org/jooq/SQLDialect.java index 7c43583b19..565c7f0af7 100644 --- a/jOOQ/src/main/java/org/jooq/SQLDialect.java +++ b/jOOQ/src/main/java/org/jooq/SQLDialect.java @@ -98,7 +98,17 @@ public enum SQLDialect { /** * The ClickHouse dialect family. + *

+ * This dialect is in EXPERIMENTAL state. The dialect works very differently + * from most more standards compliant dialects, and we're still exploring + * how much we should tweak generated SQL to make ClickHouse behave more. + * The main difference is in how NULL values are handled. While + * NOT NULL being the default modifier on a type is a + * reasonable choice, auto-converting all NULL values to the + * type's default (e.g. 0 for INTEGER) seems like + * a stretch, and hard to prevent via jOOQ's standardisation. */ + @Experimental CLICKHOUSE("ClickHouse", false, true), /** @@ -1062,6 +1072,7 @@ public enum SQLDialect { + ;