Skip to content

Commit

Permalink
Fix groupingClause to use GROUP ... TIME_AGG syntax (page 163)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpinna80 authored Oct 7, 2024
1 parent 756a38b commit df84f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2.1/src/main/antlr4/org/sdmx/vtl/Vtl.g4
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ limitClauseItem:
/*--------------------------------------------END ANALYTIC CLAUSE -----------------------------------------------*/
/* ------------------------------------------------------------ GROUPING CLAUSE ------------------------------------*/
groupingClause:
GROUP op=(BY | EXCEPT) componentID (COMMA componentID)* # groupByOrExcept
| GROUP ALL exprComponent # groupAll
GROUP op=(BY | EXCEPT) componentID (COMMA componentID)* ( TIME_AGG LPAREN TIME_UNIT (COMMA delim=(FIRST|LAST))? RPAREN )? # groupByOrExcept
| GROUP ALL exprComponent ( TIME_AGG LPAREN TIME_UNIT RPAREN )? # groupAll
;

havingClause:
Expand Down

0 comments on commit df84f63

Please sign in to comment.