Skip to content

Parse DISTINCT (..) as a separate expression/construct #134

Description

@nene

Currently we parse the DISTINCT inside function call as just a single keyword that's part of that functions argument list, with the columns list after DISTINCT looking like a normal argument, while it's actually an argument for DISTINCT.

See nene/prettier-plugin-sql-cst#73

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions