-
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.
opt: update statement bundle and EXPLAIN (opt, env) to include FK tables
This commit updates the statement bundle and EXPLAIN (opt, env) output to include the schema and stats for tables that are referenced with foreign keys by tables used in the query. This is useful when trying to re-create the schema for debugging purposes (e.g., with cockroach debug statement-bundle recreate), since otherwise you would get an error "relation ... does not exist". Epic: CRDB-14510 Release note: None
- Loading branch information
Showing
5 changed files
with
111 additions
and
9 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
Oops, something went wrong.