summaryrefslogtreecommitdiffstats
path: root/sqlglot/parser.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-24 18:46:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-24 18:46:57 +0000
commitcaf48491ccffa709546a473d36df6a4444164ad1 (patch)
treee803e4a815a9a39695e6161ec4feb55f295f4942 /sqlglot/parser.py
parentReleasing debian version 16.4.0-1. (diff)
downloadsqlglot-caf48491ccffa709546a473d36df6a4444164ad1.tar.xz
sqlglot-caf48491ccffa709546a473d36df6a4444164ad1.zip
Merging upstream version 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(),