Commit 6e5689cc authored by 王东's avatar 王东

指标计算承保字段调整

parent e4e4bec3
......@@ -18,7 +18,7 @@ from (
,d1.`agentId` as `agentid`
,DATE_FORMAT(tumble_end(d1.row_time, interval '1' minute) ,'yyyy-MM-dd HH:mm:ss') as `time`
,CastToTagIndexUDF(LISTAGG(d1.`elapsed`,';') ) as `quantile` -- 拼接
,cast(DateTimeToLongUDF(tumble_start(d1.row_time, interval '1' minute) as varchar) as `createtime`
,cast(DateTimeToLongUDF(tumble_start(d1.row_time, interval '1' minute)) as varchar) as `createtime`
from RZ_ODS.RZ_ODS_KAFKA.RZDATA d1
where
UPPER(RIGHT(d1.`rpc`,3)) not in ('.JS')
......@@ -48,7 +48,7 @@ from (
d1.`applicationName` as `applicationname`
,DATE_FORMAT(tumble_end(d1.row_time, interval '1' minute) ,'yyyy-MM-dd HH:mm:ss') as `time`
,CastToTagIndexUDF(LISTAGG(d1.`elapsed`,';') ) as `quantile` -- 拼接
,cast(DateTimeToLongUDF(tumble_start(d1.row_time, interval '1' minute) as varchar) as `createtime`
,cast(DateTimeToLongUDF(tumble_start(d1.row_time, interval '1' minute)) as varchar) as `createtime`
from RZ_ODS.RZ_ODS_KAFKA.RZDATA d1
where
UPPER(RIGHT(d1.`rpc`,3)) not in ('.JS')
......
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