Skip to content

Support DISTINCT/ALL for aggregate functions#53

Open
kendru wants to merge 1 commit intoakito0107:masterfrom
kendru:master
Open

Support DISTINCT/ALL for aggregate functions#53
kendru wants to merge 1 commit intoakito0107:masterfrom
kendru:master

Conversation

@kendru
Copy link

@kendru kendru commented Jun 10, 2022

Fixes #52

  • Adds a Filter field to sqlast.Function that is an optional pointer to
    an "ALL" or "DISTINCT" identifier.
  • Attempts to parse DISTINCT/ALL before the argument list of a function
  • Adds a test to validate correct parsing.

- Adds a Filter field to sqlast.Function that is an optional pointer to
  an "ALL" or "DISTINCT" identifier.
- Attempts to parse DISTINCT/ALL before the argument list of a function
- Adds a test to validate correct parsing.
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

Successfully merging this pull request may close these issues.

Cannot parse COUNT(DISTINCT ...)

1 participant