8000 feat: Include RENAME in DDL regex (#1075) · googleapis/python-spanner@3669303 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3669303

Browse files
feat: Include RENAME in DDL regex (#1075)
Co-authored-by: Sri Harsha CH <57220027+harshachinta@users.noreply.github.com>
1 parent b0a31e9 commit 3669303

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

google/cloud/spanner_dbapi/parse_utils.py

Lines changed: 3 additions & 1 deletion
< 4FD7 td data-grid-cell-id="diff-e942c1913bf8770f329585a42ab8ce8abe3d2109a0a77431ed7a8f337f467425-157-158-2" data-line-anchor="diff-e942c1913bf8770f329585a42ab8ce8abe3d2109a0a77431ed7a8f337f467425R158" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionLine-bgColor, var(--diffBlob-addition-bgColor-line));padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">+
r"^\s*(CREATE|ALTER|DROP|GRANT|REVOKE|RENAME)", re.IGNORECASE | re.DOTALL
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@
154154

155155
# DDL statements follow
156156
# 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)
157+
RE_DDL = re.compile(
158
159+
)
158160

159161
RE_IS_INSERT = re.compile(r"^\s*(INSERT)", re.IGNORECASE | re.DOTALL)
160162

0 commit comments

Comments
 (0)
0