cockroachdb / cockroachdb/cockroach

sql: support generic query plans for statements within routines

Open
#165,832 1 comment 0 reactions 0 assignees View on GitHub
A-generic-query-plans A-sql-routine C-enhancement O-support P-3 T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Currently, generic query plans are only applicable to the statements that go through the "main" query path (`optPlanningCtx.buildExecMemo`). However, statements within routines don't go through that path, so they don't get generic plans. We should consider adding the support for them in there.

Jira issue: CRDB-61613

Epic: CRDB-63752

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.