Commit cd20937b authored by 胡涛's avatar 胡涛

指标统计sql脚本

parent 53fe0adc
......@@ -23,10 +23,7 @@ from (
,`row_time`
from RZ_ODS.RZ_ODS_KAFKA.RZDATA
) d1
where
LongTimeToStringUDF(d1.endTime,'yyyy-MM-dd HH:mm') >= DATE_FORMAT(TIMESTAMPADD(MINUTE,-1,LOCALTIMESTAMP),'yyyy-MM-dd HH:mm')
and LongTimeToStringUDF(d1.endTime,'yyyy-MM-dd HH:mm') < DATE_FORMAT(TIMESTAMPADD(MINUTE,+1,LOCALTIMESTAMP),'yyyy-MM-dd HH:mm')
and d1.status = '200'
where d1.status = '200'
and RIGHT(d1.`rpc`,3) not in ('.js')
and RIGHT(d1.`rpc`,4) not in ('.jpg','.ico','.css','.ttf','.png','.PNG','.JPG','.txt','.mp4','.mp3','.pdf','.dwr')
and RIGHT(d1.`rpc`,5) not in ('.json','.html','.less','.jpeg')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment