Releases: exasol/mysql-virtual-schema
4.0.0: Enhanced Data Type Detection for Result Sets and Fixed Vulnerabilities in Dependencies
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.5to10.0.1
Test Dependency Updates
- Updated
com.exasol:exasol-testcontainers:6.1.1to6.2.0 - Updated
com.exasol:hamcrest-resultset-matcher:1.5.1to1.5.2 - Updated
com.exasol:test-db-builder-java:3.3.2to3.3.4 - Updated
com.exasol:udf-debugging-java:0.6.2to0.6.4 - Updated
com.exasol:virtual-schema-common-jdbc:9.0.5to10.0.1 - Updated
com.exasol:virtual-schema-shared-integration-tests:2.2.0to2.2.2 - Updated
mysql:mysql-connector-java:8.0.29to8.0.30 - Updated
org.junit.jupiter:junit-jupiter:5.8.2to5.9.1 - Updated
org.mockito:mockito-junit-jupiter:4.6.1to4.8.0 - Updated
org.testcontainers:junit-jupiter:1.17.2to1.17.3 - Updated
org.testcontainers:mysql:1.17.2to1.17.3
Plugin Dependency Updates
- Updated
com.exasol:error-code-crawler-maven-plugin:1.1.1to1.1.2 - Updated
com.exasol:project-keeper-maven-plugin:2.4.6to2.8.0 - Updated
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0to3.1.0
3.0.0 Dependency Updates
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.3to9.0.5
Test Dependency Updates
- Updated
com.exasol:exasol-testcontainers:4.0.0to6.1.1 - Updated
com.exasol:hamcrest-resultset-matcher:1.4.1to1.5.1 - Updated
com.exasol:test-db-builder-java:3.2.1to3.3.2 - Added
com.exasol:udf-debugging-java:0.6.2 - Updated
com.exasol:virtual-schema-common-jdbc:9.0.3to9.0.5 - Added
com.exasol:virtual-schema-shared-integration-tests:2.2.0 - Updated
mysql:mysql-connector-java:8.0.26to8.0.29 - Added
org.jacoco:org.jacoco.agent:0.8.8 - Updated
org.junit.jupiter:junit-jupiter:5.7.2to5.8.2 - Updated
org.mockito:mockito-junit-jupiter:3.11.2to4.6.1 - Updated
org.testcontainers:junit-jupiter:1.16.0to1.17.2 - Updated
org.testcontainers:mysql:1.16.0to1.17.2
Plugin Dependency Updates
- Updated
com.exasol:artifact-reference-checker-maven-plugin:0.3.1to0.4.0 - Updated
com.exasol:error-code-crawler-maven-plugin:0.5.1to1.1.1 - Updated
com.exasol:project-keeper-maven-plugin:0.10.0to2.4.6 - Updated
io.github.zlika:reproducible-build-maven-plugin:0.13to0.15 - Updated
org.apache.maven.plugins:maven-compiler-plugin:3.8.1to3.10.1 - Updated
org.apache.maven.plugins:maven-dependency-plugin:2.8to3.3.0 - Updated
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3to3.0.0 - Updated
org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3to3.0.0-M5 - Updated
org.apache.maven.plugins:maven-jar-plugin:3.2.0to3.2.2 - Updated
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3to3.0.0-M5 - Added
org.codehaus.mojo:flatten-maven-plugin:1.2.7 - Updated
org.codehaus.mojo:versions-maven-plugin:2.8.1to2.11.0 - Updated
org.jacoco:jacoco-maven-plugin:0.8.6to0.8.8 - Added
org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184 - Updated
org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0to3.2.0
Dependency Updates
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.2to0.4.0 - Updated
com.exasol:virtual-schema-common-jdbc:9.0.1to9.0.3
Test Dependency Updates
- Updated
com.exasol:exasol-testcontainers:3.5.0to4.0.0 - Updated
com.exasol:hamcrest-resultset-matcher:1.4.0to1.4.1 - Updated
com.exasol:test-db-builder-java:3.0.0to3.2.1 - Updated
com.exasol:virtual-schema-common-jdbc:9.0.1to9.0.3 - Updated
mysql:mysql-connector-java:8.0.23to8.0.26 - Updated
org.junit.jupiter:junit-jupiter:5.7.1to5.7.2 - Updated
org.mockito:mockito-junit-jupiter:3.7.7to3.11.2 - Updated
org.testcontainers:junit-jupiter:1.15.2to1.16.0 - Updated
org.testcontainers:mysql:1.15.2to1.16.0
Plugin Dependency Updates
- Updated
com.exasol:error-code-crawler-maven-plugin:0.1.1to0.5.1 - Updated
com.exasol:project-keeper-maven-plugin:0.4.2to0.10.0 - Added
io.github.zlika:reproducible-build-maven-plugin:0.13 - Updated
org.apache.maven.plugins:maven-jar-plugin:2.4to3.2.0
Removed `SQL_DIALECT` property
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.0to0.2.2 - Updated
com.exasol:virtual-schema-common-jdbc:8.0.0to9.0.1
Test Dependencies
- Updated
com.exasol:exasol-testcontainers:3.3.1to3.5.0 - Updated
com.exasol:test-db-builder-java:2.0.0to3.0.0 - Updated
mysql:mysql-connector-java:8.0.22to8.0.23 - Updated
org.junit.jupiter:junit-jupiter:5.7.0to5.7.1 - Updated
org.mockito:mockito-junit-jupiter:3.6.28to3.7.7 - Updated
org.testcontainers:junit-jupiter:1.15.0to1.15.2 - Updated
org.testcontainers:mysql:1.15.0to1.15.2 - Updated
com.exasol:hamcrest-resultset-matcher:1.2.2to1.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.5to0.8.6 - Updated
org.codehaus.mojo:versions-maven-plugin:2.7to2.8.1
Migration from the virtual-schemas repository
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