-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36687: sql: fix EXPLAIN (DISTSQL) for CREATE STATISTICS r=rytaft a=rytaft `EXPLAIN (DISTSQL)` has been broken for `CREATE STATISTICS` ever since `CREATE STATISTICS` was converted to use the jobs framework. Instead of showing the DistSQL plan, it has only shown the local node corresponding to the function that started the job. This commit fixes `EXPLAIN (DISTSQL)` for `CREATE STATISTICS` so it shows the actual DistSQL plan used for the job. Fixes #36677 Release note (sql change): EXPLAIN (DISTSQL) CREATE STATISTICS now shows the DistSQL plan used by the CREATE STATISTICS job. Co-authored-by: Rebecca Taft <[email protected]>
- Loading branch information
Showing
5 changed files
with
123 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters