Skip to content

Releases: exasol/mysql-virtual-schema

4.0.0: Enhanced Data Type Detection for Result Sets and Fixed Vulnerabilities in Dependencies

25 Oct 07:44
769f4df

Choose a tag to compare

Summary

Starting with version 7.1.14 Exasol database uses the capabilities reported by each virtual schema to provide select list data types for each push down request. Based on this information the JDBC virtual schemas no longer need to infer the data types of the result set by inspecting its values. Instead the JDBC virtual schemas can now use the information provided by the database.

This release provides enhanced data type detection for result sets by updating virtual-schema-common-jdbc to version 10.0.1.

The following table shows the changed return type for some operations:

Operation Return type up to version 3.0.0 Return type for version 4.0.0
Comparison, e.g. x < 60 DECIMAL BOOLEAN
AVG(DECIMAL) DECIMAL DOUBLE
DIV(DECIMAL) DECIMAL(19,0) DECIMAL(10,0), i.e. BIGINT

Additionally this release fixes vulnerability CVE-2022-38751 reported for transitive dependency snakeyaml required by virtual-schema-shared-integration-tests.

Bug Fixes

  • #21: Fixed vulnerabilities in dependencies.

Dependency Updates

Compile Dependency Updates

  • Updated com.exasol:virtual-schema-common-jdbc:9.0.5 to 10.0.1

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:6.1.1 to 6.2.0
  • Updated com.exasol:hamcrest-resultset-matcher:1.5.1 to 1.5.2
  • Updated com.exasol:test-db-builder-java:3.3.2 to 3.3.4
  • Updated com.exasol:udf-debugging-java:0.6.2 to 0.6.4
  • Updated com.exasol:virtual-schema-common-jdbc:9.0.5 to 10.0.1
  • Updated com.exasol:virtual-schema-shared-integration-tests:2.2.0 to 2.2.2
  • Updated mysql:mysql-connector-java:8.0.29 to 8.0.30
  • Updated org.junit.jupiter:junit-jupiter:5.8.2 to 5.9.1
  • Updated org.mockito:mockito-junit-jupiter:4.6.1 to 4.8.0
  • Updated org.testcontainers:junit-jupiter:1.17.2 to 1.17.3
  • Updated org.testcontainers:mysql:1.17.2 to 1.17.3

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.1.1 to 1.1.2
  • Updated com.exasol:project-keeper-maven-plugin:2.4.6 to 2.8.0
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.0.0 to 3.1.0

3.0.0 Dependency Updates

27 Jun 09:21
ede3fc4

Choose a tag to compare

Summary

In this release we updated dependencies and by that fixed the following security vulnerabilities: CVE-2022-24823, CVE-2016-5003, CVE-2016-5002, CVE-2021-22569, CVE-2021-43797, CVE-2022-21363, sonatype-2012-0050, CVE-2016-5004, CVE-2021-37136, CVE-2021-37137, sonatype-2021-0789.

Refactoring

  • #11: Added virtual-schema-shared-integration-tests
  • #14: Inverted scalar function capability definition, i.e. use a block list instead of an allow list

Dependency Updates

Compile Dependency Updates

  • Removed com.exasol:error-reporting-java:0.4.0
  • Updated com.exasol:virtual-schema-common-jdbc:9.0.3 to 9.0.5

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:4.0.0 to 6.1.1
  • Updated com.exasol:hamcrest-resultset-matcher:1.4.1 to 1.5.1
  • Updated com.exasol:test-db-builder-java:3.2.1 to 3.3.2
  • Added com.exasol:udf-debugging-java:0.6.2
  • Updated com.exasol:virtual-schema-common-jdbc:9.0.3 to 9.0.5
  • Added com.exasol:virtual-schema-shared-integration-tests:2.2.0
  • Updated mysql:mysql-connector-java:8.0.26 to 8.0.29
  • Added org.jacoco:org.jacoco.agent:0.8.8
  • Updated org.junit.jupiter:junit-jupiter:5.7.2 to 5.8.2
  • Updated org.mockito:mockito-junit-jupiter:3.11.2 to 4.6.1
  • Updated org.testcontainers:junit-jupiter:1.16.0 to 1.17.2
  • Updated org.testcontainers:mysql:1.16.0 to 1.17.2

Plugin Dependency Updates

  • Updated com.exasol:artifact-reference-checker-maven-plugin:0.3.1 to 0.4.0
  • Updated com.exasol:error-code-crawler-maven-plugin:0.5.1 to 1.1.1
  • Updated com.exasol:project-keeper-maven-plugin:0.10.0 to 2.4.6
  • Updated io.github.zlika:reproducible-build-maven-plugin:0.13 to 0.15
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.8.1 to 3.10.1
  • Updated org.apache.maven.plugins:maven-dependency-plugin:2.8 to 3.3.0
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3 to 3.0.0
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3 to 3.0.0-M5
  • Updated org.apache.maven.plugins:maven-jar-plugin:3.2.0 to 3.2.2
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3 to 3.0.0-M5
  • Added org.codehaus.mojo:flatten-maven-plugin:1.2.7
  • Updated org.codehaus.mojo:versions-maven-plugin:2.8.1 to 2.11.0
  • Updated org.jacoco:jacoco-maven-plugin:0.8.6 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

Dependency Updates

11 Aug 15:07
b6df970

Choose a tag to compare

Summary

In this release we updated the dependencies. By that we fixed transitive CVE-2021-36090.

Dependency Updates

Compile Dependency Updates

  • Updated com.exasol:error-reporting-java:0.2.2 to 0.4.0
  • Updated com.exasol:virtual-schema-common-jdbc:9.0.1 to 9.0.3

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:3.5.0 to 4.0.0
  • Updated com.exasol:hamcrest-resultset-matcher:1.4.0 to 1.4.1
  • Updated com.exasol:test-db-builder-java:3.0.0 to 3.2.1
  • Updated com.exasol:virtual-schema-common-jdbc:9.0.1 to 9.0.3
  • Updated mysql:mysql-connector-java:8.0.23 to 8.0.26
  • Updated org.junit.jupiter:junit-jupiter:5.7.1 to 5.7.2
  • Updated org.mockito:mockito-junit-jupiter:3.7.7 to 3.11.2
  • Updated org.testcontainers:junit-jupiter:1.15.2 to 1.16.0
  • Updated org.testcontainers:mysql:1.15.2 to 1.16.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:0.1.1 to 0.5.1
  • Updated com.exasol:project-keeper-maven-plugin:0.4.2 to 0.10.0
  • Added io.github.zlika:reproducible-build-maven-plugin:0.13
  • Updated org.apache.maven.plugins:maven-jar-plugin:2.4 to 3.2.0

Removed `SQL_DIALECT` property

25 Feb 08:27
e1c6998

Choose a tag to compare

Summary

The SQL_DIALECT property used when executing a CREATE VIRTUAL SCHEMA from the Exasol database is obsolete from this version. Please, do not provide this property anymore.

Features

  • #4: Unified error messages with error-reporting-java
  • #5: Added new capabilities for scalar and aggregate function.

Refactoring

  • #8: Enabled an integration test.

Dependencies Updates

Runtime Dependencies

  • Updated com.exasol:error-reporting-java:0.2.0 to 0.2.2
  • Updated com.exasol:virtual-schema-common-jdbc:8.0.0 to 9.0.1

Test Dependencies

  • Updated com.exasol:exasol-testcontainers:3.3.1 to 3.5.0
  • Updated com.exasol:test-db-builder-java:2.0.0 to 3.0.0
  • Updated mysql:mysql-connector-java:8.0.22 to 8.0.23
  • Updated org.junit.jupiter:junit-jupiter:5.7.0 to 5.7.1
  • Updated org.mockito:mockito-junit-jupiter:3.6.28 to 3.7.7
  • Updated org.testcontainers:junit-jupiter:1.15.0 to 1.15.2
  • Updated org.testcontainers:mysql:1.15.0 to 1.15.2
  • Updated com.exasol:hamcrest-resultset-matcher:1.2.2 to 1.4.0
  • Removed junit:junit:4.13.1

Plugin Dependencies

  • Added com.exasol:error-code-crawler-maven-plugin:0.1.1
  • Updated org.jacoco:jacoco-maven-plugin:0.8.5 to 0.8.6
  • Updated org.codehaus.mojo:versions-maven-plugin:2.7 to 2.8.1

Migration from the virtual-schemas repository

11 Jan 09:46
54d3c9f

Choose a tag to compare

Features / Enhancements

  • 1: Migrated from the virtual-schemas repository

Runtime Dependencies

  • Added com.exasol:virtual-schema-common-jdbc:8.0.0
  • Added com.exasol:error-reporting-java:0.2.0

Test Dependencies

  • Added org.hamcrest:hamcrest:2.2
  • Added org.junit.jupiter:junit-jupiter:5.7.0
  • Added org.mockito:mockito-junit-jupiter:3.6.28
  • Added junit:junit:4.13.1
  • Added com.exasol:exasol-testcontainers:3.3.1
  • Added org.testcontainers:junit-jupiter:1.15.0
  • Added org.testcontainers:mysql:1.15.0
  • Added mysql:mysql-connector-java:8.0.22
  • Added com.exasol:test-db-builder-java:2.0.0
  • Added com.exasol:hamcrest-resultset-matcher:1.2.2

Plugin Dependencies

  • Added org.jacoco:jacoco-maven-plugin:0.8.5
  • Added org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3
  • Added org.apache.maven.plugins:maven-compiler-plugin:3.8.1
  • Added org.apache.maven.plugins:maven-assembly-plugin:3.3.0
  • Added org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3
  • Added org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3
  • Added org.codehaus.mojo:versions-maven-plugin:2.7
  • Added com.exasol:artifact-reference-checker-maven-plugin:0.3.1
  • Added com.exasol:project-keeper-maven-plugin:0.4.2
  • Added org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0