remove order by in olap query (#1342)

This commit is contained in:
abelanger5
2025-03-14 11:21:18 -04:00
committed by GitHub
parent e17cf650a1
commit 436f0b8699
2 changed files with 0 additions and 4 deletions

View File

@@ -342,8 +342,6 @@ WITH latest_retry_count AS (
AND task_id = @taskId::bigint
AND task_inserted_at = @taskInsertedAt::timestamptz
AND retry_count = (SELECT retry_count FROM latest_retry_count)
ORDER BY
event_timestamp DESC
), finished_at AS (
SELECT
MAX(event_timestamp) AS finished_at

View File

@@ -907,8 +907,6 @@ WITH latest_retry_count AS (
AND task_id = $2::bigint
AND task_inserted_at = $3::timestamptz
AND retry_count = (SELECT retry_count FROM latest_retry_count)
ORDER BY
event_timestamp DESC
), finished_at AS (
SELECT
MAX(event_timestamp) AS finished_at