We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e7ba5 commit c89ef10Copy full SHA for c89ef10
google/cloud/spanner_dbapi/parse_utils.py
@@ -155,7 +155,7 @@
155
156
# DDL statements follow
157
# https://cloud.google.com/spanner/docs/data-definition-language
158
-RE_DDL = re.compile(r"^\s*(CREATE|ALTER|DROP|GRANT|REVOKE)", re.IGNORECASE | re.DOTALL)
+RE_DDL = re.compile(r"^\s*(CREATE|ALTER|DROP|GRANT|REVOKE|RENAME)", re.IGNORECASE | re.DOTALL)
159
160
RE_IS_INSERT = re.compile(r"^\s*(INSERT)", re.IGNORECASE | re.DOTALL)
161
0 commit comments