-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(clusters): fix tls renew query (#1026)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
- Loading branch information
1 parent
6f7c94c
commit 81a7b7a
Showing
3 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Aggregate entire history | ||
|
||
```sql | ||
SELECT location, 'activity' AS t, activity_name AS name | ||
FROM db_workflow.workflow_activity_events | ||
WHERE | ||
workflow_id = $1 AND NOT forgotten | ||
UNION ALL | ||
SELECT location, 'signal' AS t, signal_name AS name | ||
FROM db_workflow.workflow_signal_events | ||
WHERE | ||
workflow_id = $1 AND NOT forgotten | ||
UNION ALL | ||
SELECT location, 'sub_workflow' AS t, sub_workflow_id::STRING AS name | ||
FROM db_workflow.workflow_sub_workflow_events | ||
WHERE | ||
workflow_id = $1 AND NOT forgotten | ||
UNION ALL | ||
SELECT location, 'signal_send' AS t, signal_name AS name | ||
FROM db_workflow.workflow_signal_send_events | ||
WHERE | ||
workflow_id = $1 AND NOT forgotten | ||
UNION ALL | ||
SELECT location, 'message_send' AS t, message_name AS name | ||
FROM db_workflow.workflow_message_send_events | ||
WHERE | ||
workflow_id = $1 AND NOT forgotten | ||
UNION ALL | ||
SELECT location, 'loop' AS t, NULL AS name | ||
FROM db_workflow.workflow_loop_events | ||
WHERE | ||
workflow_id = $1 AND NOT forgotten | ||
ORDER BY location ASC; | ||
``` | ||
|
||
> Remove `AND NOT forgotten` to show all events, including past loop executions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters