Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stats: add placeholder support for ALTER TABLE ... INJECT STATISTICS #35895

Open
rytaft opened this issue Mar 18, 2019 · 1 comment
Open

stats: add placeholder support for ALTER TABLE ... INJECT STATISTICS #35895

rytaft opened this issue Mar 18, 2019 · 1 comment
Labels
A-sql-optimizer SQL logical planning and optimizations. A-sql-table-stats Table statistics (and their automatic refresh). C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) E-quick-win Likely to be a quick win for someone experienced. T-sql-queries SQL Queries Team
Milestone

Comments

@rytaft
Copy link
Collaborator

rytaft commented Mar 18, 2019

ALTER TABLE <name> INJECT STATISTICS $1 does not currently work. We should add placeholder support to INJECT STATISTICS so users can easily pass a JSON string as a parameter.

Jira issue: CRDB-4545

@rytaft rytaft added the A-sql-optimizer SQL logical planning and optimizations. label Mar 18, 2019
@rytaft rytaft added this to To do in BACKLOG, NO NEW ISSUES: SQL Optimizer via automation Mar 18, 2019
@rytaft rytaft added this to the Later milestone Mar 18, 2019
@rytaft rytaft added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-sql-table-stats Table statistics (and their automatic refresh). labels Mar 18, 2019
@RaduBerinde RaduBerinde moved this from To do to Lower Priority Backlog in BACKLOG, NO NEW ISSUES: SQL Optimizer Apr 16, 2019
@RaduBerinde RaduBerinde moved this from Lower Priority Backlog to New features in BACKLOG, NO NEW ISSUES: SQL Optimizer Apr 18, 2020
@github-actions
Copy link

github-actions bot commented Jun 4, 2021

We have marked this issue as stale because it has been inactive for
18 months. If this issue is still relevant, removing the stale label
or adding a comment will keep it active. Otherwise, we'll close it in
5 days to keep the issue queue tidy. Thank you for your contribution
to CockroachDB!

@rytaft rytaft added this to Triage in SQL Queries via automation Jun 7, 2021
@rytaft rytaft moved this from Triage to Backlog in SQL Queries Jun 7, 2021
@jlinder jlinder added the T-sql-queries SQL Queries Team label Jun 16, 2021
@cucaroach cucaroach added the E-quick-win Likely to be a quick win for someone experienced. label Jan 4, 2023
@mgartner mgartner moved this from Backlog to New Backlog in SQL Queries Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-optimizer SQL logical planning and optimizations. A-sql-table-stats Table statistics (and their automatic refresh). C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) E-quick-win Likely to be a quick win for someone experienced. T-sql-queries SQL Queries Team
Projects
Status: Backlog
SQL Queries
New Backlog
Development

No branches or pull requests

4 participants