diff options
| author | John Bodley <john.bodley@airbnb.com> | 2019-02-12 09:58:53 -0800 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2019-03-10 08:55:38 +0100 |
| commit | 8fd25a972b3d4123cee9ceb8276bc834507753ef (patch) | |
| tree | a042ab15c00e52cd8d1b263d552cb244411ce720 /sqlparse | |
| parent | 54a92374b6fdd7a5bd91509720f47cd4baa5add1 (diff) | |
| download | sqlparse-8fd25a972b3d4123cee9ceb8276bc834507753ef.tar.gz | |
[keywords] Adding Calcite temporal keywords
Diffstat (limited to 'sqlparse')
| -rw-r--r-- | sqlparse/keywords.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index d9fdb89..a3e2b9d 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -289,6 +289,7 @@ KEYWORDS = { 'HAVING': tokens.Keyword, 'HIERARCHY': tokens.Keyword, 'HOLD': tokens.Keyword, + 'HOUR': tokens.Keyword, 'HOST': tokens.Keyword, 'IDENTIFIED': tokens.Keyword, @@ -415,6 +416,8 @@ KEYWORDS = { 'OVERRIDING': tokens.Keyword, 'OWNER': tokens.Keyword, + 'QUARTER': tokens.Keyword, + 'PAD': tokens.Keyword, 'PARAMETER': tokens.Keyword, 'PARAMETERS': tokens.Keyword, @@ -604,6 +607,7 @@ KEYWORDS = { 'VIEW': tokens.Keyword, 'VOLATILE': tokens.Keyword, + 'WEEK': tokens.Keyword, 'WHENEVER': tokens.Keyword, 'WITH': tokens.Keyword.CTE, 'WITHOUT': tokens.Keyword, |
