Skip to content
New issue

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

Reverse Engineer Exasol Comments #159

Open
ssteinhauser opened this issue Jan 9, 2025 · 0 comments
Open

Reverse Engineer Exasol Comments #159

ssteinhauser opened this issue Jan 9, 2025 · 0 comments

Comments

@ssteinhauser
Copy link

When reverse engineering tables from an existing exasol database, comments are not recognized correctly. The comments on a table are not being recognized, but they are somehow being used as (part of) the comment on the table:

Actual statement:

create or replace table test.test (
    id1 integer comment is 'id1',
    id2 integer comment is 'id1'
)
;

DbSchema reverse engineered:

CREATE OR REPLACE TABLE "TEST"."TEST"(
    "ID1" DECIMAL(18,0), 
    "ID2" DECIMAL(18,0)
);

COMMENT ON TABLE "TEST"."TEST" is ''("ID1" is 'id1',"ID2" is 'id1');
  1. Please check DbSchema Help / Output logs for errors.
    No issue, following output:
CREATE OR REPLACE TABLE "TEST"."TEST"(
    "ID1" DECIMAL(18,0), 
    "ID2" DECIMAL(18,0)
)

Parsed.

COMMENT ON TABLE "TEST"."TEST" is ''("ID1" is 'id1',"ID2" is 'id1')

Parsed.
  1. Please include the DbSchema version, operating system and used database
    DbSchema Version: 9.6.5
    OS: Windows
    Database: Exasol

  2. The steps to reproduce this issue
    Execute the following statement to create a test table and reverse engineer that with DbSchema:

create or replace table test.test (
    id1 integer comment is 'id1',
    id2 integer comment is 'id1'
)
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant