Skip to content

Commit

Permalink
- Remove DAYOFWEEK from intervals, add WEEKDAY to valid intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrutter committed Dec 20, 2024
1 parent 9960b5e commit dced7b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/alasqlparser.jison
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ SETS return 'SET'
'WHILE' return 'WHILE'
'WITH' return 'WITH'
'WEEK' return 'WEEK'
'WEEKDAY' return 'DAYOFWEEK'
'WEEKDAY' return 'WEEKDAY'
'WORK' return 'TRANSACTION' /* Is this keyword required? */
'YEAR' return 'YEAR'
(\d+\.?\d*|\.\d+)([eE][+-]?\d+)? return 'NUMBER'
Expand Down Expand Up @@ -608,7 +608,7 @@ IntervalLiteral
| MINUTE
| HOUR
| DAY
| DAYOFWEEK
| WEEKDAY
| DAYOFYEAR
| WEEK
| MONTH
Expand Down
Loading

0 comments on commit dced7b1

Please sign in to comment.