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`. https://github.com/cloudspannerecosystem/spanner-cli/blob/e44e60f428b4206024673bc4a36955e8981bc17a/statement.go#L105
DMLs can be prefixed by statement hints.
https://cloud.google.com/spanner/docs/reference/standard-sql/dml-syntax#delete-statement
https://cloud.google.com/spanner/docs/reference/standard-sql/dml-syntax#update-statement
It seems that only permitted statement hint is
PDML_MAX_PARALLELISMfor Partitioned DML, so only we need is relaxing pattern ofpdmlRe.spanner-cli/statement.go
Line 105 in e44e60f