Skip to content

Fix live snapshot: show bulk inserts, fix decimal cast#304

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/live-snapshot-bulk-insert
Feb 26, 2026
Merged

Fix live snapshot: show bulk inserts, fix decimal cast#304
erikdarlingdata merged 1 commit intodevfrom
fix/live-snapshot-bulk-insert

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Use COALESCE(der.sql_handle, der.plan_handle) for dm_exec_sql_text so bulk insert operations appear in live snapshots (they have no plan_handle)
  • Fix System.Single to System.Decimal cast error for percent_complete and granted_query_memory_gb in Dashboard

Test plan

  • Bulk insert queries now appear in both Dashboard and Lite live snapshots
  • No cast errors on Dashboard active queries tab
  • Both apps build successfully

🤖 Generated with Claude Code

Use sql_handle instead of plan_handle for dm_exec_sql_text so bulk
insert operations (which have no plan_handle) appear in live snapshots.
Fix System.Single to System.Decimal cast errors for percent_complete
and granted_query_memory_gb in Dashboard's active query reader.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 12c68dd into dev Feb 26, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/live-snapshot-bulk-insert branch February 27, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant