|
楼主 |
发表于 2019-11-8 11:43:36
|
显示全部楼层
本帖最后由 zangwill 于 2019-11-8 11:46 编辑
输出了好多:- 2019-11-08 11:34:58
- exec KSQL: SELECT SA_Task.* FROM SA_Task SA_Task WHERE (((sExecutorFID in ('/Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/9NTxVQ5InwbA9KgZkW2.pos/f6y6o0HafV1bnb7h6xo@9NTxVQ5InwbA9KgZkW2.psm','/Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/gCjieMohdQdD7YAwAl4.pos/W89siOxNJh3RdfQNMF6@gCjieMohdQdD7YAwAl4.psm') and sStatusName = '正在处理')) and (SA_Task.sStatusID='tesReady' or SA_Task.sStatusID='tesExecuting') and (:_efid0 like concat(SA_Task.sExecutorFID, '%')) and SA_Task.sExecutorFID like '/%' ) ORDER BY sCreateTime DESC LIMIT 0, -1
- --> sql:SELECT SA_Task.sID AS SA_Task, SA_Task.SACTIVITY AS sActivity, SA_Task.SCREATETIME AS sCreateTime, SA_Task.SCREATORFNAME AS sCreatorFName, SA_Task.SDATA1 AS sData1, SA_Task.SDATA2 AS sData2, SA_Task.SDATA3 AS sData3, SA_Task.SDATA4 AS sData4, SA_Task.SESFIELD01 AS sESField01, SA_Task.SEURL AS sEURL, SA_Task.SEXECUTORFID AS sExecutorFID, SA_Task.SEXECUTORFNAME AS sExecutorFName, SA_Task.SEXECUTORNAMES AS sExecutorNames, SA_Task.SKINDID AS sKindID, SA_Task.SNAME AS sName, SA_Task.SPROCESS AS sProcess, SA_Task.SSTATUSID AS sStatusID FROM SA_Task SA_Task WHERE ( ( sExecutorFID IN (?, ?) ) AND (sStatusName = ?) ) AND ( (SA_Task.SSTATUSID = ?) OR (SA_Task.SSTATUSID = ?) ) AND ( ? LIKE SA_Task.SEXECUTORFID || ?) AND (SA_Task.SEXECUTORFID LIKE ?) ORDER BY sCreateTime DESC
- --> binds:[/Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/9NTxVQ5InwbA9KgZkW2.pos/f6y6o0HafV1bnb7h6xo@9NTxVQ5InwbA9KgZkW2.psm, /Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/gCjieMohdQdD7YAwAl4.pos/W89siOxNJh3RdfQNMF6@gCjieMohdQdD7YAwAl4.psm, 正在处理, tesReady, tesExecuting, /Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/gCjieMohdQdD7YAwAl4.pos/W89siOxNJh3RdfQNMF6@gCjieMohdQdD7YAwAl4.psm, %, /%]
- 2019-11-08 11:34:58
- exec KSQL: SELECT SA_Task.* FROM SA_Task SA_Task WHERE (((sExecutorFID in ('/Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/9NTxVQ5InwbA9KgZkW2.pos/f6y6o0HafV1bnb7h6xo@9NTxVQ5InwbA9KgZkW2.psm','/Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/gCjieMohdQdD7YAwAl4.pos/W89siOxNJh3RdfQNMF6@gCjieMohdQdD7YAwAl4.psm') and sStatusName = '正在处理')) and (SA_Task.sStatusID='tesReady' or SA_Task.sStatusID='tesExecuting') and (:_efid0 like concat(SA_Task.sExecutorFID, '%')) and SA_Task.sExecutorFID like '/%' ) ORDER BY sCreateTime DESC LIMIT 0, -1
- --> sql:SELECT SA_Task.sID AS SA_Task, SA_Task.SACTIVITY AS sActivity, SA_Task.SCREATETIME AS sCreateTime, SA_Task.SCREATORFNAME AS sCreatorFName, SA_Task.SDATA1 AS sData1, SA_Task.SDATA2 AS sData2, SA_Task.SDATA3 AS sData3, SA_Task.SDATA4 AS sData4, SA_Task.SESFIELD01 AS sESField01, SA_Task.SEURL AS sEURL, SA_Task.SEXECUTORFID AS sExecutorFID, SA_Task.SEXECUTORFNAME AS sExecutorFName, SA_Task.SEXECUTORNAMES AS sExecutorNames, SA_Task.SKINDID AS sKindID, SA_Task.SNAME AS sName, SA_Task.SPROCESS AS sProcess, SA_Task.SSTATUSID AS sStatusID FROM SA_Task SA_Task WHERE ( ( sExecutorFID IN (?, ?) ) AND (sStatusName = ?) ) AND ( (SA_Task.SSTATUSID = ?) OR (SA_Task.SSTATUSID = ?) ) AND ( ? LIKE SA_Task.SEXECUTORFID || ?) AND (SA_Task.SEXECUTORFID LIKE ?) ORDER BY sCreateTime DESC
- --> binds:[/Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/9NTxVQ5InwbA9KgZkW2.pos/f6y6o0HafV1bnb7h6xo@9NTxVQ5InwbA9KgZkW2.psm, /Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/gCjieMohdQdD7YAwAl4.pos/W89siOxNJh3RdfQNMF6@gCjieMohdQdD7YAwAl4.psm, 正在处理, tesReady, tesExecuting, /Vdwe3TfL1Z4sVEDsxpv.ogn/5otvmvgk7G3nZ1xsPGL.dpt/gCjieMohdQdD7YAwAl4.pos/W89siOxNJh3RdfQNMF6@gCjieMohdQdD7YAwAl4.psm, %, /%]
- 2019-11-08 11:34:58 sql 执行时间:5ms
- 2019-11-08 11:34:58 sql 执行时间:5ms
复制代码 ksql中(:_efid0 like concat(SA_Task.sExecutorFID, '%') :_efid0是什么值
|
|