fix: active queries list always showed itself
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m8s
CI / docker (push) Successful in 40s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

The system.processes query was returning its own row. Added
filter: query NOT LIKE '%system.processes%'

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-03 10:33:47 +02:00
parent d9615204bf
commit bdac363e40

View File

@@ -137,6 +137,7 @@ public class ClickHouseAdminController {
substring(query, 1, 200) AS query
FROM system.processes
WHERE is_initial_query = 1
AND query NOT LIKE '%system.processes%'
ORDER BY elapsed DESC
""",
(rs, rowNum) -> new ClickHouseQueryInfo(