From 8f48695151568b499e05de600dccbe0dcb74a7ff Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 10 Jan 2022 14:35:20 +0100 Subject: [PATCH] [jOOQ/jOOQ#12807] Parse and ignore Teradata's COMPRESS DDL clauses --- .../main/java/org/jooq/impl/ParserImpl.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java b/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java index 55cc205ccc..66ff3e0308 100644 --- a/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java @@ -4539,6 +4539,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext { boolean onUpdate = false; boolean unique = false; boolean comment = false; + boolean compress = false; Comment fieldComment = null; identity |= type.identity(); @@ -4725,6 +4726,30 @@ final class DefaultParseContext extends AbstractScope implements ParseContext { } } + + if (!compress) { + if (parseKeywordIf("NO COMPRESS") && requireProEdition()) { + + + + + } + else if (parseKeywordIf("COMPRESS") && requireProEdition()) { + + + + + + + + + + + + } + } + + break; }