yydeng626 opened a new pull request, #29960:
URL: https://github.com/apache/shardingsphere/pull/29960

   Fixes #29183.
   
   Changes proposed in this pull request:
     - support CURRENT OF syntax feature
     - support set assignment math operate feature
     - support sql
   ```
   1. UPDATE Production.Product  
   SET Color = N'Metallic Red'  
   WHERE Name LIKE N'Road-250%' AND Color = N'Red'
   
   2.  UPDATE HumanResources.EmployeePayHistory  
   SET PayFrequency = 2   
   WHERE CURRENT OF complex_cursor
   
   3. UPDATE Production.Product  
   SET ListPrice += @NewPrice  
   WHERE Color = N'Red'
   
   4.UPDATE Production.ScrapReason   
   SET Name += ' - tool malfunction'  
   WHERE ScrapReasonID BETWEEN 10 and 12
   
   5.UPDATE sr  
   SET sr.Name += ' - tool malfunction'  
   FROM Production.ScrapReason AS sr  
   JOIN Production.WorkOrder AS wo   
        ON sr.ScrapReasonID = wo.ScrapReasonID  
        AND wo.ScrappedQty > 300
   ```
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following 
options:
   - [ ] My code follows the [code of 
conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) 
of this project.
   - [ ] I have self-reviewed the commit code.
   - [ ] I have (or in comment I request) added corresponding labels for the 
pull request.
   - [ ] I have passed maven check locally : `./mvnw clean install -B -T1C 
-Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [ ] I have made corresponding changes to the documentation.
   - [ ] I have added corresponding unit tests for my changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to