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

   Problem Summary: After an INSERT containing a table-valued function 
finishes, audit logging reparses its SQL for redaction. This runs after 
StmtExecutor has restored session variables, but the redaction parser applies 
SET_VAR again. For example, an INSERT using numbers() with query_timeout=1 and 
insert_timeout=1 leaves both session values at 1, causing the next unhinted 
INSERT to time out.
   
   Pass an empty hint map to the redaction plan builder so it does not apply 
execution hints. The redacted SQL still preserves the original hint text and 
masks sensitive properties. This also applies to other callers of the shared 
redaction parser, including FE logging and streaming-job SQL display.


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