Commit 599c715
authored
fix(query): reduce redundant result-set-spill logs during query waits (#18741)
During long-running SQL queries, the system repeatedly logs empty pages
with rows=0 which creates excessive log noise. This change only logs
non-empty pages and final completion status.
Changes:
- Skip logging empty pages (rows=0) during query execution
- Only log when pages contain actual data (rows>0)
- Log final completion status when query ends with empty page
- Preserve all error and cleanup logs for debugging
This significantly reduces log volume while maintaining visibility
into actual data processing and query completion.1 parent e9262e8 commit 599c715
1 file changed
+11
-8
lines changedLines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 83 | | |
89 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | | - | |
93 | | - | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
0 commit comments