xsqlparser
xsqlparser copied to clipboard
Support DISTINCT/ALL for aggregate functions
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.