summaryrefslogtreecommitdiffstats
path: root/sqlglot/parser.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-24 18:46:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-24 18:46:54 +0000
commit5cb547bdac6f807c3a1bc42faffaceaf726a3e3e (patch)
tree89287ecd0265188fc3119e9d711017634526a09e /sqlglot/parser.py
parentAdding upstream version 16.4.0. (diff)
downloadsqlglot-5cb547bdac6f807c3a1bc42faffaceaf726a3e3e.tar.xz
sqlglot-5cb547bdac6f807c3a1bc42faffaceaf726a3e3e.zip
Adding upstream version 16.4.2.upstream/16.4.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sqlglot/parser.py')
-rw-r--r--sqlglot/parser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlglot/parser.py b/sqlglot/parser.py
index a9648ef..e16a88e 100644
--- a/sqlglot/parser.py
+++ b/sqlglot/parser.py
@@ -1677,6 +1677,8 @@ class Parser(metaclass=_Parser):
this=this,
exists=self._parse_exists(),
partition=self._parse_partition(),
+ where=self._match_pair(TokenType.REPLACE, TokenType.WHERE)
+ and self._parse_conjunction(),
expression=self._parse_ddl_select(),
conflict=self._parse_on_conflict(),
returning=self._parse_returning(),