We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(again tested using exasol dialect, but is jdbc standard problem)
create schema VSA; CREATE JAVA ADAPTER SCRIPT VSA.EXASOL_ADAPTER AS %scriptclass com.exasol.adapter.RequestDispatcher; %jar /buckets/bfsdefault/default/virtual-schema-dist-10.1.0-exasol-7.0.2.jar; / create or replace connection LOCAL_JDBC to 'jdbc:exa:localhost/<fingerprint>:8563' user 'sys' identified by 'secret'; create schema mixup; create table HELLO_WORLD(i int); create table "HELLOxWORLD"(x int); CREATE VIRTUAL SCHEMA mixed_up USING VSA.EXASOL_ADAPTER WITH CONNECTION_NAME = 'LOCAL_JDBC' SCHEMA_NAME = 'MIXUP' ;
getColumns()
describe mixed_up."HELLO_WORLD";
returns
COLUMN_NAME SQL_TYPE ----------- ------------- I DECIMAL(18,0) X DECIMAL(18,0)
Of course, column X is not really there and any access will result in errors.
X
On top of that, neither the VS adapter nor the database backend checks for duplicate column names...
The text was updated successfully, but these errors were encountered:
Hello @exaSR @redcatbear and me have the same assumption:
Proposed change
Sorry, something went wrong.
I will add a test in VSEXA, see exasol/exasol-virtual-schema#94
ckunki
Successfully merging a pull request may close this issue.
(again tested using exasol dialect, but is jdbc standard problem)
setup
Bug: Column lookup passes 'HELLO_WORLD' to jdbc's
getColumns()
call, which is interpreted as SQL wildcarddescribe mixed_up."HELLO_WORLD";
returns
Of course, column
X
is not really there and any access will result in errors.On top of that, neither the VS adapter nor the database backend checks for duplicate column names...
The text was updated successfully, but these errors were encountered: