diff --git a/AUTHORS b/AUTHORS index 934bbe33..90def42c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -32,6 +32,7 @@ Alphabetical list of contributors: * Fredy Wijaya * Gavin Wahl * Georg Traar +* griff <70294474+griffatrasgo@users.noreply.github.com> * Hugo van Kemenade * hurcy * Ian Robertson diff --git a/CHANGELOG b/CHANGELOG index ca4d23aa..6aa1e278 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,6 +14,7 @@ Enhancements: * Improve splitting of Transact SQL when using GO keyword (issue762). * Support for some JSON operators (issue682). * Improve formatting of statements containing JSON operators (issue542). +* Support for BigQuery and Snowflake keywords (pr699, by griffatrasgo). Bug Fixes diff --git a/sqlparse/lexer.py b/sqlparse/lexer.py index 0ff99bf3..8f88d171 100644 --- a/sqlparse/lexer.py +++ b/sqlparse/lexer.py @@ -66,9 +66,9 @@ def default_initialization(self): self.add_keywords(keywords.KEYWORDS_PLPGSQL) self.add_keywords(keywords.KEYWORDS_HQL) self.add_keywords(keywords.KEYWORDS_MSACCESS) - self.add_keywords(keywords.KEYWORDS) self.add_keywords(keywords.KEYWORDS_SNOWFLAKE) self.add_keywords(keywords.KEYWORDS_BIGQUERY) + self.add_keywords(keywords.KEYWORDS) def clear(self): """Clear all syntax configurations.