From f9d270ee12f5f8b8e813c3ef64d7465907dad6cf Mon Sep 17 00:00:00 2001 From: nbesimi Date: Tue, 30 Apr 2024 14:04:54 +0200 Subject: [PATCH 1/2] fixed: query java issue --- README.md | 1 + binary/build.gradle | 2 +- .../src/main/resources/translation_matrix/translation.csv | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 002b1e44..c66c7db5 100644 --- a/README.md +++ b/README.md @@ -354,6 +354,7 @@ tables: - test - apply - generate +- query #### init This command will generate a project (directory) if specified, a default configuration file located in the current directory with example connections for `bigquery` and `snowflake`, and the model directory. diff --git a/binary/build.gradle b/binary/build.gradle index fe4a73d9..ea6a8c61 100644 --- a/binary/build.gradle +++ b/binary/build.gradle @@ -26,7 +26,7 @@ ext{ runtime { options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages'] - modules = ['java.base', 'java.naming', 'java.xml', 'java.sql', 'java.rmi', 'java.management', 'java.prefs', 'java.desktop'] + modules = ['java.base', 'java.naming', 'java.xml', 'java.sql', 'java.rmi', 'java.management', 'java.prefs', 'java.desktop', 'jdk.unsupported'] targetPlatform("linux-x64") { imageZip = project.ext.imageFile diff --git a/translator/src/main/resources/translation_matrix/translation.csv b/translator/src/main/resources/translation_matrix/translation.csv index 2a459466..f62482cb 100644 --- a/translator/src/main/resources/translation_matrix/translation.csv +++ b/translator/src/main/resources/translation_matrix/translation.csv @@ -2357,4 +2357,5 @@ 2542;;kinetica;;INTEGER;;kinetica;;integer 2543;;kinetica;;DOUBLE;;kinetica;;double 2544;;kinetica;;DATE;;kinetica;;date -2545;;kinetica;;BYTES;;kinetica;;bytes \ No newline at end of file +2545;;kinetica;;BYTES;;kinetica;;bytes +2546;;postgres;;_text;;oracle;;varchar2 \ No newline at end of file From ad2604715eeace1f48c7d2726448b8e642361b54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 10:26:50 +0000 Subject: [PATCH 2/2] Version bump: to 2.2.3 --- build.gradle | 2 +- cli/src/main/java/com/adaptivescale/rosetta/cli/Cli.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 25a82caf..561574b7 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ repositories { allprojects { group = 'com.adaptivescale' - version = '2.2.2' + version = '2.2.3' sourceCompatibility = 11 targetCompatibility = 11 } diff --git a/cli/src/main/java/com/adaptivescale/rosetta/cli/Cli.java b/cli/src/main/java/com/adaptivescale/rosetta/cli/Cli.java index a8234d89..3873716e 100644 --- a/cli/src/main/java/com/adaptivescale/rosetta/cli/Cli.java +++ b/cli/src/main/java/com/adaptivescale/rosetta/cli/Cli.java @@ -59,7 +59,7 @@ @Slf4j @CommandLine.Command(name = "cli", mixinStandardHelpOptions = true, - version = "2.2.2", + version = "2.2.3", description = "Declarative Database Management - DDL Transpiler" ) class Cli implements Callable {