We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9960b5e commit dced7b1Copy full SHA for dced7b1
src/alasqlparser.jison
@@ -283,7 +283,7 @@ SETS return 'SET'
283
'WHILE' return 'WHILE'
284
'WITH' return 'WITH'
285
'WEEK' return 'WEEK'
286
-'WEEKDAY' return 'DAYOFWEEK'
+'WEEKDAY' return 'WEEKDAY'
287
'WORK' return 'TRANSACTION' /* Is this keyword required? */
288
'YEAR' return 'YEAR'
289
(\d+\.?\d*|\.\d+)([eE][+-]?\d+)? return 'NUMBER'
@@ -608,7 +608,7 @@ IntervalLiteral
608
| MINUTE
609
| HOUR
610
| DAY
611
- | DAYOFWEEK
+ | WEEKDAY
612
| DAYOFYEAR
613
| WEEK
614
| MONTH
0 commit comments