Skip to content

Docs for statement hint changes#23192

Merged
bsanchez-the-roach merged 5 commits intomainfrom
DOC-16190
Apr 17, 2026
Merged

Docs for statement hint changes#23192
bsanchez-the-roach merged 5 commits intomainfrom
DOC-16190

Conversation

@bsanchez-the-roach
Copy link
Copy Markdown
Contributor

@bsanchez-the-roach bsanchez-the-roach commented Apr 17, 2026

This was originally meant to just document DOC-16190 but it's now expanded to include all of the v26.2 docs work for Statement Hints, including:

  • The introduction of session variable overrides
  • Statement hints can now be enabled/disabled
  • Statement hints can now be scoped to a specific database
  • Both deletions and enabling/disabling can also be scoped to a database, when doing so via statement fingerprint.
  • We want to avoid the use of the term "hint injection"

This also resolves DOC-16430, DOC-16428, DOC-16387, DOC-16652, and DOC-16653

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 8616a98
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69e26179e5aaea00088bb7c5

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 8616a98
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69e26179e5aaea00088bb7c7

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 17, 2026

Diagram Anchor Check: Failed

Found 3 broken anchor(s) that will cause docs build failures.

Context: EDUENG-613 — same failure mode as 2026-01-29 (opt_with_show_hints_options missing from stmt_block.html).

  • explain.html on release-26.2 → missing anchor #explainable_stmt
    • referenced by src/current/v26.2/explain.md
  • explain_analyze.html on release-26.2 → missing anchor #explainable_stmt
    • referenced by src/current/v26.2/explain-analyze.md
  • show_statement_hints.html on release-26.2 → missing anchor #string_or_placeholder
    • referenced by src/current/v26.2/show-statement-hints.md

Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 22e6925
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69e28f3e29fbfc00084a9f01

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 22e6925
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69e28f3e15ce380008239ed4

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2026

Netlify Preview

Name Link
🔨 Latest commit 8616a98
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69e2617aee2e580007d07f50
😎 Deploy Preview https://deploy-preview-23192--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 17, 2026

Netlify Preview

Name Link
🔨 Latest commit 22e6925
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69e28f3e17593400084aa88f
😎 Deploy Preview https://deploy-preview-23192--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread src/current/v26.2/cost-based-optimizer.md
Comment thread src/current/v26.2/cost-based-optimizer.md
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md Outdated
Comment thread src/current/v26.2/cost-based-optimizer.md
Comment thread src/current/v26.2/cost-based-optimizer.md
Copy link
Copy Markdown

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@peachdawnleach peachdawnleach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bsanchez-the-roach bsanchez-the-roach merged commit 53c5695 into main Apr 17, 2026
6 of 7 checks passed
@bsanchez-the-roach bsanchez-the-roach deleted the DOC-16190 branch April 17, 2026 21:08
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.

3 participants