-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Christoph Kuhnke <[email protected]>
- Loading branch information
1 parent
bd134d6
commit 7bc2aee
Showing
13 changed files
with
120 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true, | ||
"source.generate.finalModifiers": true, | ||
"source.fixAll": true | ||
}, | ||
"java.codeGeneration.useBlocks": true, | ||
"java.saveActions.organizeImports": true, | ||
"java.sources.organizeImports.starThreshold": 3, | ||
"java.sources.organizeImports.staticStarThreshold": 3, | ||
"java.test.config": { | ||
"vmArgs": [ | ||
"-Djava.util.logging.config.file=src/test/resources/logging.properties" | ||
] | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true, | ||
"source.generate.finalModifiers": true, | ||
"source.fixAll": true | ||
}, | ||
"java.codeGeneration.useBlocks": true, | ||
"java.saveActions.organizeImports": true, | ||
"java.sources.organizeImports.starThreshold": 3, | ||
"java.sources.organizeImports.staticStarThreshold": 3, | ||
"java.test.config": { | ||
"vmArgs": [ | ||
"-Djava.util.logging.config.file=src/test/resources/logging.properties" | ||
] | ||
}, | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "exasol", | ||
"projectKey": "com.exasol:exasol-virtual-schema" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Exasol Virtual Schema 7.1.4, released 2023-07-12 | ||
|
||
Code name: Fix Issue With Integer Constants in `GROUP BY` | ||
|
||
## Summary | ||
|
||
This release fixes an issue with queries using `DISTINCT` with integer constants. The Exasol SQL processor turns `DISTINCT <integer>` into `GROUP BY <integer>` before push-down as an optimization. The adapter must not feed this back as Exasol interprets integers in `GROUP BY` clauses as column numbers which could lead to invalid results or the following error: | ||
|
||
``` | ||
42000:Wrong column number. Too small value 0 as select list column reference in GROUP BY (smallest possible value is 1) | ||
``` | ||
|
||
To fix this, Exasol VS now replaces integer constants in `GROUP BY` clauses with a constant string. | ||
|
||
Please that you can still safely use `GROUP BY <column-number>` in your original query, since Exasol internally converts this to `GROUP BY "<column-name>"`, so that the virtual schema adapter can tell both situations apart. | ||
|
||
## Bugfixes | ||
|
||
* #108: Fixed issue with integer constants in `GROUP BY` | ||
|
||
## Dependency Updates | ||
|
||
### Compile Dependency Updates | ||
|
||
* Updated `com.exasol:virtual-schema-common-jdbc:11.0.0` to `11.0.1` | ||
|
||
### Test Dependency Updates | ||
|
||
* Updated `com.exasol:exasol-testcontainers:6.6.0` to `6.6.1` | ||
* Updated `com.exasol:virtual-schema-common-jdbc:11.0.0` to `11.0.1` | ||
|
||
### Plugin Dependency Updates | ||
|
||
* Updated `org.apache.maven.plugins:maven-assembly-plugin:3.3.0` to `3.6.0` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Developer Guide | ||
|
||
## Enable Debug Output | ||
|
||
To enable debug output for the virtual schema adapter you can set [system properties defined by test-db-builder-java](https://github.com/exasol/test-db-builder-java/blob/main/doc/user_guide/user_guide.md#debug-output). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters