Skip to content

Normalizer fails to parse qualified identifiers with mixed quotes (e.g., example_schema."some-table") #117

Description

@fridgepoet

The sqllexer normalizer incorrectly rejects identifiers that combine an unquoted schema/table name with a quoted table
name, such as: example_schema."some-table"

During tokenization, after encountering the . the normalizer treats the following " as the start of a quoted identifier, but the hyphen - is being interpreted as the end of the quoted identifier, which is incorrect. The lexer should continue until it finds the matching closing ", regardless of the characters inside.

Reproduction steps:

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions