mars-dev thanks for the test case, very helpful.
The issue is that we generate a totally invalid query: update Event cross join set assignTo=null where user_Id=?.