From 7e712d72b74acb008aad5b85ef8fbd19ef2c108f Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Fri, 15 Nov 2024 18:09:27 +0100 Subject: [PATCH] [jOOQ/jOOQ#15906] Fix API generator --- jOOQ/src/main/java/org/jooq/impl/CreateTableImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/CreateTableImpl.java b/jOOQ/src/main/java/org/jooq/impl/CreateTableImpl.java index b2e1e36e9d..fcd2e2a1d0 100644 --- a/jOOQ/src/main/java/org/jooq/impl/CreateTableImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/CreateTableImpl.java @@ -53,8 +53,6 @@ import org.jooq.Function1; import org.jooq.Record; import org.jooq.conf.ParamType; import org.jooq.impl.QOM.WithOrWithoutData; -import org.jooq.impl.QOM; -import org.jooq.impl.QOM.PrimaryKey; import org.jooq.impl.QOM.TableCommitAction; import org.jooq.tools.StringUtils; @@ -468,7 +466,7 @@ implements if (ctx.family() == CLICKHOUSE) { ctx.formatSeparator().visit(K_ENGINE).sql(' '); - if (anyMatch(tableElements, e -> e instanceof PrimaryKey)) + if (anyMatch(tableElements, e -> e instanceof QOM.PrimaryKey)) ctx.visit(unquotedName("MergeTree")).sql("()"); else ctx.visit(unquotedName("Log")).sql("()");