cockroachdb / cockroachdb/cockroach
sql: make EXPLAIN (FINGERPRINT) EXECUTE match hint injection behavior
Open
A-plan-management
A-statement-hint
C-enhancement
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Currently, `EXPLAIN (FINGERPRINT) EXECUTE ...` just shows the EXECUTE statement itself. But this doesn't match the behavior of hint injection (or other statement hint applications) which use the prepared statement.
We should change the output of `EXPLAIN (FINGERPRINT) EXECUTE ...` to show the statement fingerprint of the prepared statement.
Jira issue: CRDB-59101
Contributor guide
Assessment
This issue has not been assessed yet.