Admaing commented on PR #18667:
URL: 
https://github.com/apache/dolphinscheduler/pull/18667#issuecomment-6306567204

   Both addressed in 15d98c6c33.
   1. A statement set is now handled as one submitted job even when its BEGIN 
and the first INSERT share a semicolon-delimited fragment. The start matcher 
consumes the optional BEGIN and the remainder of that fragment is scanned, so 
the first INSERT records the snapshot. A statement set containing a single 
INSERT therefore still produces exactly one snapshot. Covered through per-job 
extraction and through both cancellation and savepoint command construction (a 
single-INSERT set followed by an INSERT on a different endpoint).
   2. SQL string literals are now parsed completely and doubled quotes are 
decoded before shell escaping: SET 'security.ssl.rest.truststore-password' = 
'pa''ss' yields pa'ss and reaches the CLI as 
-Dsecurity.ssl.rest.truststore-password='pa'\''ss'. Covered in both 
cancellation and savepoint command construction.


-- 
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