summaryrefslogtreecommitdiffstats
path: root/sqlglot/parser.py
diff options
context:
space:
mode:
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(),