cockroachdb / cockroachdb/cockroach

sql: make EXPLAIN (FINGERPRINT) EXECUTE match hint injection behavior

Open
#161,833 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.