mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-06 08:49:53 -06:00
remove order by in olap query (#1342)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user