cockroachdb / cockroachdb/cockroach
sql: emit enable/disable events from information_schema.crdb_enable_statement_hints
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We currently emit events when we create and delete statement hints. But we do not emit events when enabling or disabling statement hints using `information_schema.crdb_enable_statement_hints`. We should also emit events from this builtin, to help with troubleshooting.
Jira issue: CRDB-65867
Epic: CRDB-66266
Contributor guide
Research direction
Start at the information_schema.crdb_enable_statement_hints builtin and trace the existing event paths for creating and deleting statement hints. Find the builtin's implementation and relevant SQL or event tests; done means enabling and disabling hints each produce the expected troubleshooting events, with coverage for both paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100