-
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.
105892: sql: initialize job collection for internal planner r=chengxiong-ruan a=chengxiong-ruan Previously, we didn't initilize a jobs collection for internal planners. This is inadequate because the jobs collection is used by `crdb_internal.jobs` table and any CTAS statement touching the table would use a nil jobs collection since it uses a internal planner. This commit initialize a collection for that. Fixes: #105887 Release note (bug fix): this commit fixed a bug where CTAS statement could crash if it queried `crdb_internal.jobs` table. Co-authored-by: Chengxiong Ruan <[email protected]>
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 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