-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
DMLs can be prefixed by statement hints.
https://cloud.google.com/spanner/docs/reference/standard-sql/dml-syntax#delete-statement
[statement_hint_expr] UPDATE table_name [table_hint_expr] [[AS] alias]
https://cloud.google.com/spanner/docs/reference/standard-sql/dml-syntax#update-statement
[statement_hint_expr] UPDATE table_name [table_hint_expr] [[AS] alias]
It seems that only permitted statement hint is PDML_MAX_PARALLELISM for Partitioned DML, so only we need is relaxing pattern of pdmlRe.
Line 105 in e44e60f
| pdmlRe = regexp.MustCompile(`(?is)^PARTITIONED\s+((?:INSERT|UPDATE|DELETE)\s+.+$)`) |
Metadata
Metadata
Assignees
Labels
No labels