Skip to content

[Bug]: postgresql will not throw error when sql is incomplete #477

Description

@Cythia828

Version

v4.5.0

Which SQL?

Postgre

SQL content

CREATE TABLE MyTable (user_id BIGINT, name STRING) WITH ('connector' = 'oracle-x');

select from (select user_id from MyTable) as t1;

JavaScript/TypeScript code

What happened?

CREATE TABLE MyTable (user_id BIGINT, name STRING) WITH ('connector' = 'oracle-x');

select from (select user_id from MyTable) as t1;
这种SQL语句不完整的情况下,正常应该飘红的,但是由于PG语法文件的特殊性,目前不报错

Image

Relevant log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions