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

Some of multiple statements in a DDL file/string are ignored #169

Open
devxor opened this issue Nov 4, 2022 · 0 comments
Open

Some of multiple statements in a DDL file/string are ignored #169

devxor opened this issue Nov 4, 2022 · 0 comments
Assignees

Comments

@devxor
Copy link

devxor commented Nov 4, 2022

Describe the bug
Having DDL in a file with multiple statements like in the example below will ignore the COMMENT line, so in the parsed result there will be no information about comment.

To Reproduce

CREATE OR REPLACE TABLE mytable (
    field_1 NUMBER(38, 0) NOT NULL,
    field_2 VARCHAR(250)
);

COMMENT ON COLUMN field_1 IS 'some comment';

Expected behavior
All the statements from DDL file/string parsed correctly and included in the result.

@xnuinside xnuinside self-assigned this Nov 7, 2022
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

2 participants