We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The group all can be used to group on an expression instead of identifier. The specification defines it as:
group all
converts the values of an Identifier Component using conversionExpr and keeps all the resulting Identifiers
The "resulting identifiers" in plural is misleading. The grammar only defines one expression:
groupingClause: GROUP op=(BY | EXCEPT) componentID (COMMA componentID)* # groupByOrExcept | GROUP ALL expr # groupAll ;
There's also no way to specify the name of the resulting components.
Change the spec and grammar so that this statement is valid:
test := ds[aggr foo := sum(bar) group all id1 + id2 as id1_id2, length(id3) as id_length];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
The
group all
can be used to group on an expression instead of identifier. The specification defines it as:The "resulting identifiers" in plural is misleading. The grammar only defines one expression:
There's also no way to specify the name of the resulting components.
Proposed Solution
Change the spec and grammar so that this statement is valid:
The text was updated successfully, but these errors were encountered: