xsqlparser icon indicating copy to clipboard operation
xsqlparser copied to clipboard

Support DISTINCT/ALL for aggregate functions

Open kendru opened this issue 3 years ago • 0 comments

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.

kendru avatar Jun 10 '22 21:06 kendru