morrySnow commented on PR #44887: URL: https://github.com/apache/doris/pull/44887#issuecomment-2559016801
> > why need dump sql to out file? > > @morrySnow > > 两种场景 > > 1.有些同学一个groovy里写了几十个sql,但没有给每个sql 区分标签,这样某个sql错了,就很难查找。尤其是在sql script 中,它的out文件中,每个sql 语句输出的tag只是语句的顺序号,要看out中对应的sql语句,只能在原sql script中按寻找查找是哪个sql > > 2.如果groovy里有很多循环等逻辑操作,很难确定跑出问题的sql具体内容(sql 是拼接得来的) 在回归日志中都是可以直接找到的呀,他会把当前执行的每一个sql都打印出来 -- 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