You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there are two kind of functions: Aggregators like SUM/MAX/MIN/COUNT where this rules make sense. And normal functions which I did not have in mind at the time of creating the grammar. Maybe it makes sense to define aggregators hardcoded and do it the right way for normal functions.
The OVER clause has the same thinking behind it. Window functions are only used with aggregators AFAIK.
Side note: You can always allow more than possible and forbid what shall not be possible using a validator. This might help the user to understand differences in language concepts (with nice error messages presumed). But in this case, I think, hardcoded aggregator functions would be better.
I'm not sure the SimpleSelectStatement.select and PrimaryExpression.FunctionCall rules are correct.
I'm assuming
FunctionCall
is intended to parse system function calls (E.g. ABS() or DATEADD(), etc)Problems:
SelectElements
rule for its params property;Happy to propose a fix if I've understood this correctly.
The text was updated successfully, but these errors were encountered: