[#7171] Add support for parsing DATEADD()

This commit is contained in:
lukaseder 2018-05-16 10:33:57 +02:00
parent af1e22b651
commit b405aeb8bf

View File

@ -620,6 +620,7 @@ term =
| 'CURRENT_TIMESTAMP'
| 'CURRENT_USER'
| dateLiteral
| 'DATEADD' '(' datePart ',' field ',' field ')'
| 'DATE_TRUNC' '(' stringLiteral ',' field ')'
| 'DAY' '(' field ')'
| 'DECODE' '(' field ',' field ',' field { ',' field } ')'