dutyu opened a new issue, #12584:
URL: https://github.com/apache/doris/issues/12584

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   1.1.2
   
   ### What's Wrong?
   
   I've installed auditloader plugin in my cluster, i found that some audit log 
like `LOAD` statement appears truncated in table doris_audit_tbl__.  I've 
review the source code and found that the `toSql` function of `LoadStmt` will 
generate '\n' character, the auditloader plugin use '\n' as delimiter so the 
bug appears. I will sumit a pr later to fix this problem.
   
   ### What You Expected?
   
   Auditloader plugin should not truncate some sql statement.
   
   ### How to Reproduce?
   
   Install auditloader plugin, exeucte a broker load request, wait 1 minute and 
search the log in doris_audit_tbl__ table, you will find stmt was truncated.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to