Skip to content

Commit 2d64ada

Browse files
Syncing with Fernando's changes
1 parent ecc1e5a commit 2d64ada

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

schema/postgres/sqls/pg_PANDA_SCHEDULER_JOBS.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@ BEGIN
24912491
WHERE j."endtime" > NOW() - INTERVAL '1 day'
24922492
AND j."jobstatus" IN ('finished', 'failed')
24932493
AND j."modificationhost" NOT LIKE 'aipanda%'
2494-
AND j."modificationhost" IS NOT NULL
2494+
AND j."modificationhost" NOT LIKE 'grid-job-%'
24952495
GROUP BY sc_slimmed."atlas_site", "worker_node"
24962496
),
24972497
harvester_stats AS (
@@ -2511,6 +2511,7 @@ BEGIN
25112511
JOIN sc_slimmed ON h."computingsite" = sc_slimmed."panda_queue"
25122512
WHERE h."endtime" > NOW() - INTERVAL '1 day'
25132513
AND h."status" IN ('finished', 'failed', 'cancelled')
2514+
AND h."nodeid" NOT LIKE 'grid-job-%'
25142515
GROUP BY sc_slimmed."atlas_site", "worker_node"
25152516
)
25162517
SELECT "atlas_site", "worker_node", "key", "stats" FROM pilot_stats

0 commit comments

Comments
 (0)