diff --git a/e2e_test/batch/basic/dml.slt.part b/e2e_test/batch/basic/dml_basic.slt.part similarity index 100% rename from e2e_test/batch/basic/dml.slt.part rename to e2e_test/batch/basic/dml_basic.slt.part diff --git a/e2e_test/batch/basic/dml_update.slt.part b/e2e_test/batch/basic/dml_update.slt.part index cff0f23955b7d..580a74ba44368 100644 --- a/e2e_test/batch/basic/dml_update.slt.part +++ b/e2e_test/batch/basic/dml_update.slt.part @@ -1,4 +1,4 @@ -# Extension to `dml.slt.part` for testing advanced `UPDATE` statements. +# Extension to `dml_basic.slt.part` for testing advanced `UPDATE` statements. statement ok SET RW_IMPLICIT_FLUSH TO true; @@ -103,6 +103,10 @@ update t set (v1, v2) = (select '888.88', 999); statement error number of columns does not match number of values update t set (v1, v2) = (select 666); +# Multiple assignments, to scalar expression. +statement error source for a multiple-column UPDATE item must be a sub-SELECT or ROW\(\) expression +update t set (v1, v2) = v1 + 1; + statement ok drop table t;