-
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.
backupccl: fix bug when restoring a table with existing UDT
This change fixes a nil pointer exception, when restoring tables that point to existing types. Particularly tables that have column expressions (computed, default etc) that reference the UDT. When updating the back references of the existing types in the restoring cluster, we would index into a map keyed on pre-rewrite IDs using a post rewrite ID. This change fixes the map to be keyed on post rewrite IDs. Informs: #71145 Release note: None
- Loading branch information
1 parent
26f11c0
commit 78b2673
Showing
3 changed files
with
45 additions
and
5 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