Skip to content

Commit

Permalink
Fixed missing DATETIME in SQL Parser.
Browse files Browse the repository at this point in the history
Signed-off-by: MitchellGale-BitQuill <mitchellg@bitquilltech.com>
  • Loading branch information
MitchellGale committed Sep 19, 2022
1 parent 5e6aba7 commit fa5e74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/src/main/antlr/OpenSearchSQLParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ trigonometricFunctionName
;

dateTimeFunctionName
: ADDDATE | CONVERT_TZ | DATE | DATE_ADD | DATE_SUB | DAY | DAYNAME | DAYOFMONTH | DAYOFWEEK | DAYOFYEAR | FROM_DAYS
: ADDDATE | CONVERT_TZ | DATE | DATETIME | DATE_ADD | DATE_SUB | DAY | DAYNAME | DAYOFMONTH | DAYOFWEEK | DAYOFYEAR | FROM_DAYS
| HOUR | MICROSECOND | MINUTE | MONTH | MONTHNAME | QUARTER | SECOND | SUBDATE | TIME | TIME_TO_SEC
| TIMESTAMP | TO_DAYS | YEAR | WEEK | DATE_FORMAT | MAKETIME | MAKEDATE
;
Expand Down

0 comments on commit fa5e74f

Please sign in to comment.