mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-09 08:27:47 +08:00
修复获取topic流量指标未按时间排序问题
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
WHERE cluster_id = #{clusterId}
|
WHERE cluster_id = #{clusterId}
|
||||||
AND topic_name = #{topicName}
|
AND topic_name = #{topicName}
|
||||||
AND gmt_create BETWEEN #{startTime} AND #{endTime}
|
AND gmt_create BETWEEN #{startTime} AND #{endTime}
|
||||||
|
ORDER BY gmt_create
|
||||||
]]>
|
]]>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@@ -32,6 +33,7 @@
|
|||||||
<![CDATA[
|
<![CDATA[
|
||||||
SELECT * FROM topic_metrics
|
SELECT * FROM topic_metrics
|
||||||
WHERE cluster_id = #{clusterId} AND #{afterTime} <= gmt_create
|
WHERE cluster_id = #{clusterId} AND #{afterTime} <= gmt_create
|
||||||
|
ORDER BY gmt_create
|
||||||
]]>
|
]]>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user