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 b0a31e9 commit 3669303Copy full SHA for 3669303
google/cloud/spanner_dbapi/parse_utils.py
@@ -154,7 +154,9 @@
154
155
# DDL statements follow
156
# https://cloud.google.com/spanner/docs/data-definition-language
157
-RE_DDL = re.compile(r"^\s*(CREATE|ALTER|DROP|GRANT|REVOKE)", re.IGNORECASE | re.DOTALL)
+RE_DDL = re.compile(
158
+ r"^\s*(CREATE|ALTER|DROP|GRANT|REVOKE|RENAME)", re.IGNORECASE | re.DOTALL
159
+)
160
161
RE_IS_INSERT = re.compile(r"^\s*(INSERT)", re.IGNORECASE | re.DOTALL)
162
0 commit comments