-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql/stats: after inject or restore of partial statistics, cannot create merged statistics #94101
Copy link
Copy link
Closed
Labels
A-sql-table-statsTable statistics (and their automatic refresh).Table statistics (and their automatic refresh).C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries TeamSQL Queries Team
Description
Now that users can collect partial statistics at the extremes of columns using CREATE STATISTICS ON <col_name> FROM <table_name> USING EXTREMES, ensure that statements bundles include both full statistics and partial statistics.
The other thing we need to be sure of is that merged statistics are correctly created when injecting statment bundle stats so that we can mimic customer behavior.
Jira issue: CRDB-22695
Epic CRDB-25383
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-sql-table-statsTable statistics (and their automatic refresh).Table statistics (and their automatic refresh).C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries TeamSQL Queries Team
Type
Projects
Status
Done