Skip to content

Releases: exasol/edml-java

2.1.0 Add property `autoInferenceColumnNames`

13 Jun 15:20
5bb339b
Compare
Choose a tag to compare

This release adds property autoInferenceColumnNames to the EDML definition. This allows users to configure how virtual schemas convert column names from the source to Exasol column names when using automatic schema inference. By default the virtual schema will convert source column names to UPPER_SNAKE_CASE for Exasol column names. If you want to use the original name from the source file, you can add property autoInferenceColumnNames to the EDML definition. This property supports the following values:

  • CONVERT_TO_UPPER_SNAKE_CASE: Convert column names to UPPER_SNAKE_CASE (default).
  • KEEP_ORIGINAL_NAME: Do not convert column names, use column name from source.

The release also allows configuring the precision for toTimestampMapping with property secondsPrecision.

Features

  • #24: Added property autoInferenceColumnNames
  • #26: Added property secondsPrecision to toTimestampMapping

Dependency Updates

Test Dependency Updates

  • Updated nl.jqno.equalsverifier:equalsverifier:3.15.3 to 3.16.1
  • Updated org.junit.jupiter:junit-jupiter-api:5.10.1 to 5.10.2
  • Updated org.junit.jupiter:junit-jupiter-engine:5.10.1 to 5.10.2
  • Updated org.junit.jupiter:junit-jupiter-params:5.10.1 to 5.10.2
  • Updated org.mockito:mockito-junit-jupiter:5.7.0 to 5.12.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.3.1 to 2.0.3
  • Updated com.exasol:project-keeper-maven-plugin:2.9.16 to 4.3.3
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.11.0 to 3.13.0
  • Updated org.apache.maven.plugins:maven-deploy-plugin:3.1.1 to 3.1.2
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.4.1 to 3.5.0
  • Updated org.apache.maven.plugins:maven-gpg-plugin:3.1.0 to 3.2.4
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.6.2 to 3.7.0
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.2.2 to 3.2.5
  • Added org.apache.maven.plugins:maven-toolchains-plugin:3.2.0
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.5.0 to 1.6.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.16.1 to 2.16.2
  • Updated org.jacoco:jacoco-maven-plugin:0.8.11 to 0.8.12
  • Updated org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594 to 4.0.0.4121
  • Updated org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13 to 1.7.0

2.0.0: Remove support for `TIMESTAMP WITH LOCAL TIME ZONE`

28 Nov 07:32
4acce38
Compare
Choose a tag to compare

Summary

This release removes support for property ToTimestampMapping.useTimestampWithLocalTimezoneType which allowed using column type TIMESTAMP WITH LOCAL TIME ZONE in document based virtual schemas. This data type does not make sense for document based virtual schemas that don't support time zones at all. So we decided to drop support completely.

This is a breaking change, so we incremented the version to 2.0.0 and also released a new EDML JSON schema edml-2.0.0.json, see https://schemas.exasol.com.

Features

  • #22: Remove support for TIMESTAMP WITH LOCAL TIME ZONE

1.2.1: Fix deserializing timestamp mapping

15 Nov 15:55
d9cb226
Compare
Choose a tag to compare

Summary

This release fixes a bug when deserializing a ToTimestampMapping from JSON. Option useTimestampWithLocalTimezoneType was always set to its default value true. So it was not possible to define a TIMESTAMP column type, it was always TIMESTAMP WITH LOCAL TIMEZONE.

Bugfixes

  • #20: Fixed deserializing timestamp mapping

Refactoring

  • #18: Removed exclude for project-keeper warning E-PK-CORE-53 (dependencies.md file has outdated content)

Dependency Updates

Compile Dependency Updates

  • Updated jakarta.json:jakarta.json-api:2.1.1 to 2.1.3

Test Dependency Updates

  • Added com.jparams:to-string-verifier:1.4.8
  • Updated nl.jqno.equalsverifier:equalsverifier:3.14 to 3.15.3
  • Updated org.junit.jupiter:junit-jupiter-api:5.9.2 to 5.10.1
  • Updated org.junit.jupiter:junit-jupiter-engine:5.9.2 to 5.10.1
  • Updated org.junit.jupiter:junit-jupiter-params:5.9.2 to 5.10.1
  • Updated org.mockito:mockito-junit-jupiter:5.1.1 to 5.7.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.2.2 to 1.3.1
  • Updated com.exasol:project-keeper-maven-plugin:2.9.3 to 2.9.16
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.10.1 to 3.11.0
  • Updated org.apache.maven.plugins:maven-deploy-plugin:3.0.0 to 3.1.1
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.1.0 to 3.4.1
  • Updated org.apache.maven.plugins:maven-gpg-plugin:3.0.1 to 3.1.0
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.4.1 to 3.6.2
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8 to 3.2.2
  • Added org.basepom.maven:duplicate-finder-maven-plugin:2.0.1
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.3.0 to 1.5.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.14.2 to 2.16.1
  • Updated org.jacoco:jacoco-maven-plugin:0.8.8 to 0.8.11
  • Updated org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184 to 3.10.0.2594

1.2.0: Optional "mapping"

10 Mar 06:06
30fd490
Compare
Choose a tag to compare

Summary

This release makes the mapping field optional. When mapping is not defined, the virtual schema will use auto-inference to detect the mapping.

In order to use this new feature, please upgrade the JSON schema definition to edml-1.5.0.json.

Features

  • #16: Made mapping field optional

Dependency Updates

Test Dependency Updates

  • Updated nl.jqno.equalsverifier:equalsverifier:3.13.1 to 3.14

1.1.3: Reduce Dependencies

15 Feb 14:54
96c62c4
Compare
Choose a tag to compare

Summary

This release replaces org.json:json dependency which has vulnerability CVE-2022-45688 with jakarta.json-api. During this process we migrated to library org.leadpony.justify:justify for validating the EDML content against the JSON schema. This will result in slightly different error messages for invalid EDML.

Bugfixes

  • #10: Added language to release config file
  • #11: Replaced org.json:json dependency with jakarta.json-api

Refactoring

  • #13: Removed lombok library

Dependency Updates

Compile Dependency Updates

  • Updated com.exasol:error-reporting-java:1.0.0 to 1.0.1
  • Removed com.github.everit-org.json-schema:org.everit.json.schema:1.14.1
  • Added org.leadpony.justify:justify:3.1.0

Test Dependency Updates

  • Updated nl.jqno.equalsverifier:equalsverifier:3.12.3 to 3.13.1
  • Updated org.junit.jupiter:junit-jupiter-api:5.9.1 to 5.9.2
  • Updated org.junit.jupiter:junit-jupiter-engine:5.9.1 to 5.9.2
  • Updated org.junit.jupiter:junit-jupiter-params:5.9.1 to 5.9.2
  • Updated org.mockito:mockito-junit-jupiter:4.10.0 to 5.1.1

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.2.1 to 1.2.2
  • Updated com.exasol:project-keeper-maven-plugin:2.9.1 to 2.9.3
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7 to 3.0.0-M8
  • Updated org.codehaus.mojo:versions-maven-plugin:2.13.0 to 2.14.2
  • Updated org.itsallcode:openfasttrace-maven-plugin:1.5.0 to 1.6.1
  • Removed org.projectlombok:lombok-maven-plugin:1.18.20.0

1.1.2: Dependency Upgrade

20 Dec 08:44
8e963eb
Compare
Choose a tag to compare

Summary

Updated dependencies to use artifacts from maven as repository maven.exasol.com has been discontinued.

Changes

  • #8: Updateed dependencies

Dependency Updates

Compile Dependency Updates

  • Updated com.exasol:error-reporting-java:0.4.1 to 1.0.0
  • Updated jakarta.json:jakarta.json-api:2.1.0 to 2.1.1

Test Dependency Updates

  • Updated nl.jqno.equalsverifier:equalsverifier:3.10 to 3.12.3
  • Updated org.junit.jupiter:junit-jupiter-api:5.8.2 to 5.9.1
  • Updated org.junit.jupiter:junit-jupiter-engine:5.8.2 to 5.9.1
  • Updated org.junit.jupiter:junit-jupiter-params:5.8.2 to 5.9.1
  • Updated org.mockito:mockito-junit-jupiter:4.6.1 to 4.10.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.1.1 to 1.2.1
  • Updated com.exasol:project-keeper-maven-plugin:2.4.6 to 2.9.1
  • Updated io.github.zlika:reproducible-build-maven-plugin:0.15 to 0.16
  • Updated org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1 to 3.0.0
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.0.0 to 3.1.0
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.4.0 to 3.4.1
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5 to 3.0.0-M7
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.2.7 to 1.3.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.10.0 to 2.13.0

1.1.1 Fix serialisation for additionalConfiguration

13 Jul 08:02
36608e6
Compare
Choose a tag to compare

Summary

#6: Fix serialisation for additionalConfiguration: now converted to a proper json object instead of a json string.

Features

Dependency Updates

1.1.0: EDML 1.4 / Support for additional configuration

06 Jul 12:34
7382a2c
Compare
Choose a tag to compare

Summary

EDML 1.4 / Support for additional configuration

Features

  • #4 Add EDML 1.4 Schema (with optional json object for additional configuration)

Dependency Updates

Compile Dependency Updates

  • Updated com.github.everit-org.json-schema:org.everit.json.schema:1.14.0 to 1.14.1
  • Updated jakarta.json:jakarta.json-api:2.0.1 to 2.1.0

Test Dependency Updates

  • Updated org.mockito:mockito-junit-jupiter:4.3.1 to 4.6.1

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:0.7.1 to 1.1.1
  • Updated com.exasol:project-keeper-maven-plugin:2.2.0 to 2.4.6
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.9.0 to 3.10.1
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.3.1 to 3.4.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.8.1 to 2.10.0
  • Updated org.jacoco:jacoco-maven-plugin:0.8.7 to 0.8.8
  • Added org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184
  • Updated org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0 to 3.2.0
  • Updated org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8 to 1.6.13

1.0.0 Initial Release

08 Apr 06:45
aa5ee2b
Compare
Choose a tag to compare

Refactoring

  • #1: Extracted from virtual-schema-common-document

Dependency Updates

Compile Dependency Updates

  • Added com.exasol:error-reporting-java:0.4.1
  • Added com.github.everit-org.json-schema:org.everit.json.schema:1.14.0
  • Added jakarta.json:jakarta.json-api:2.0.1

Runtime Dependency Updates

  • Added org.glassfish:jakarta.json:2.0.1

Test Dependency Updates

  • Added nl.jqno.equalsverifier:equalsverifier:3.10
  • Added org.hamcrest:hamcrest:2.2
  • Added org.junit.jupiter:junit-jupiter-api:5.8.2
  • Added org.junit.jupiter:junit-jupiter-engine:5.8.2
  • Added org.junit.jupiter:junit-jupiter-params:5.8.2
  • Added org.mockito:mockito-junit-jupiter:4.3.1

Plugin Dependency Updates

  • Added com.exasol:error-code-crawler-maven-plugin:0.7.1
  • Added com.exasol:project-keeper-maven-plugin:2.2.0
  • Added io.github.zlika:reproducible-build-maven-plugin:0.15
  • Added org.apache.maven.plugins:maven-clean-plugin:2.5
  • Added org.apache.maven.plugins:maven-compiler-plugin:3.9.0
  • Added org.apache.maven.plugins:maven-deploy-plugin:2.7
  • Added org.apache.maven.plugins:maven-enforcer-plugin:3.0.0
  • Added org.apache.maven.plugins:maven-install-plugin:2.4
  • Added org.apache.maven.plugins:maven-jar-plugin:2.4
  • Added org.apache.maven.plugins:maven-resources-plugin:2.6
  • Added org.apache.maven.plugins:maven-site-plugin:3.3
  • Added org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5
  • Added org.codehaus.mojo:flatten-maven-plugin:1.2.7
  • Added org.codehaus.mojo:versions-maven-plugin:2.8.1
  • Added org.itsallcode:openfasttrace-maven-plugin:1.5.0
  • Added org.jacoco:jacoco-maven-plugin:0.8.7
  • Added org.projectlombok:lombok-maven-plugin:1.18.20.0
  • Added org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0