ShuoZhang03 commented on issue #34570:
URL: https://github.com/apache/doris/issues/34570#issuecomment-2164303444

   I tried to reproduce the problem,but int auit logs,there is only one line 
even if there have "\n" in query statements.Am I misunderstanding the question?
   
   **query sql:**
   ```
   SELECT
   param_name ,
   param_value -- comment
   FROM
   sys_param;
   ```
   
   **auditlog:**
   `2024-06-13 11:30:01,218 [query] 
|Client=127.0.0.1:44698|User=root|Ctl=internal|Db=ott|State=EOF|ErrorCode=0|ErrorMessage=|Time(ms)=20|ScanBytes=393216|ScanRows=21|ReturnRows=21|StmtId=6483|QueryId=64205e0fd13a4c4d-8beb0a770abb5972|IsQuery=true|isNereids=true|feIp=****|Stmt=SELECT
 param_name , param_value  FROM 
sys_param|CpuTimeMS=6|ShuffleSendBytes=492|ShuffleSendRows=11|SqlHash=c114445a082395d58eb3bebfc7ab407b|peakMemoryBytes=726048|SqlDigest=|TraceId=|WorkloadGroup=normal|FuzzyVariables=`
   
   
   **query sql:**
   `SELECT param_name\n , param_value\n  FROM sys_param;`
   **auditlog:**
   `2024-06-13 11:30:55,220 [query] 
|Client=127.0.0.1:44698|User=root|Ctl=internal|Db=ott|State=EOF|ErrorCode=0|ErrorMessage=|Time(ms)=24|ScanBytes=393216|ScanRows=21|ReturnRows=21|StmtId=6488|QueryId=49d9104e5cfa40ae-9095e728e6b3f8a3|IsQuery=true|isNereids=true|feIp=***|Stmt=SELECT
 param_name , param_value  FROM 
sys_param|CpuTimeMS=7|ShuffleSendBytes=404|ShuffleSendRows=9|SqlHash=e6d6dced2d6901f0748837c37376d0b1|peakMemoryBytes=771872|SqlDigest=|TraceId=|WorkloadGroup=normal|FuzzyVariables=`


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

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