Skip to content

Commit

Permalink
#164: Improve error handling for extension (#165)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* Adapt previous version jar

* Add changelog entry

* Upgrade dependencies

* Update class list

* Fix extension tests

* Skip class list test for Exasol 7.1

* Sort classes list

* Update class list

* Update class list

* Ignore sporadic changes in classes list

* Update release date
  • Loading branch information
kaklakariada authored May 8, 2024
1 parent e7648a8 commit 6748d4c
Show file tree
Hide file tree
Showing 17 changed files with 11,394 additions and 11,348 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build:
runnerOs: ubuntu-20.04
freeDiskSpace: true
exasolDbVersions:
- "8.24.0"
- "8.26.0"
- "7.1.26"
workflows:
- name: ci-build.yml
Expand Down
2 changes: 1 addition & 1 deletion dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions doc/changes/changes_3.0.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# S3 Document Files Virtual Schema 3.0.6, released 2024-05-08

Code name: Improve error handling for extension

## Summary

This release improves error handling when creating a new Virtual Schema using the extension: the extension now checks if a schema with the same name exists and returns a helpful error message. This check is case-insensitive because Exasol's `CONNECTION` names are also case-insensitive.

## Bugfix

* #164: Improved error handling for creating Virtual Schema using the extension

## Dependency Updates

### Virtual Schema for Document Data in Files on AWS S3

#### Compile Dependency Updates

* Updated `software.amazon.awssdk:s3:2.25.27` to `2.25.45`

#### Runtime Dependency Updates

* Updated `org.slf4j:slf4j-jdk14:2.0.12` to `2.0.13`

#### Test Dependency Updates

* Updated `com.amazonaws:aws-java-sdk-s3:1.12.697` to `1.12.715`
* Updated `com.exasol:exasol-test-setup-abstraction-java:2.1.2` to `2.1.3`
* Updated `com.exasol:extension-manager-integration-test-java:0.5.8` to `0.5.11`
* Updated `com.exasol:small-json-files-test-fixture:0.1.9` to `0.1.10`
* Updated `com.exasol:udf-debugging-java:0.6.12` to `0.6.13`
* Updated `com.fasterxml.jackson.core:jackson-databind:2.17.0` to `2.17.1`

### Extension

#### Compile Dependency Updates

* Updated `@exasol/extension-manager-interface:0.4.1` to `0.4.2`

#### Development Dependency Updates

* Updated `typescript-eslint:^7.5.0` to `^7.8.0`
* Updated `typescript:^5.4.4` to `^5.4.5`
6 changes: 3 additions & 3 deletions doc/hands_on/hands_on.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ For the document Virtual Schemas, and by that also the S3 Virtual Schema, this i
To install the Virtual Schema adapter, download its latest jar from the [releases](https://github.com/exasol/s3-document-files-virtual-schema/releases) and upload to BucketFS:

``` shell script
curl -I -X PUT -T document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
curl -I -X PUT -T document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
```

(If you have never used BucketFS, you can check out [its documentation](https://docs.exasol.com/database_concepts/bucketfs/bucketfs.htm))
Expand All @@ -75,7 +75,7 @@ CREATE SCHEMA ADAPTER;
--/
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/

--/
Expand All @@ -85,7 +85,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/
```

Expand Down
6 changes: 3 additions & 3 deletions doc/hands_on/hands_on_parquet.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For the document Virtual Schemas, and by that also the S3 Virtual Schema, this i
To install the Virtual Schema adapter, download its latest jar from the [releases](https://github.com/exasol/s3-document-files-virtual-schema/releases) and upload to BucketFS:

``` shell script
curl -I -X PUT -T document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
curl -I -X PUT -T document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
```

(If you have never used BucketFS, you can check out [its documentation](https://docs.exasol.com/database_concepts/bucketfs/bucketfs.htm))
Expand All @@ -59,7 +59,7 @@ CREATE SCHEMA ADAPTER;

CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/

CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
Expand All @@ -68,7 +68,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/
```

Expand Down
6 changes: 3 additions & 3 deletions doc/user_guide/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Next create the Adapter Script:
```sql
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/
```

Expand All @@ -30,7 +30,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/
```

Expand Down Expand Up @@ -126,7 +126,7 @@ In DbVisualizer use exactly this command:
--/
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/vs/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar;
%jar /buckets/bfsdefault/default/vs/document-files-virtual-schema-dist-8.0.3-s3-3.0.6.jar;
/
```

Expand Down
Loading

0 comments on commit 6748d4c

Please sign in to comment.