JNSimba opened a new pull request, #71028:
URL: https://github.com/apache/doris/pull/71028

   ### Background
   
   Streaming insert jobs run an `INSERT ... SELECT` statement on a schedule. 
Users can update the statement of a paused job through `ALTER JOB`.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: None
   PR Type: Bugfix
   
   Problem Summary:
   
   `ALTER JOB` could save replacement SQL without completing source privilege 
checks at submission time. Validate the replacement statement before saving it 
so the caller gets immediate feedback and a rejected update leaves the saved 
job intact.
   
   ### Testing
   
   - The new streaming ALTER privilege regression failed on the baseline and 
passed five runs with the fix.
   - `AlterJobCommandTest` passed all three cases with a longer FE startup 
timeout in the test environment.
   - The S3 and PostgreSQL credential regressions passed. The PostgreSQL run 
used a mirror of the same JDBC driver version.
   - These runs used an isolated development environment before the patch was 
moved to the current master base.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to