-
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.
76983: sql/schemachanger: enable add column by default in declarative schema changer r=fqazi a=fqazi These changes will enable add column by default in the declarative schema changer and the following fixes: 1. Add support for retrying schema changes when retriable errors are encountered 2. Add support for refreshing stats during declarative schema changes 3. Block add column when cross-database references are observed in the declarative schema changer 4. Block implicit record types inside expressions for the declarative schema changer 5. Add schema change-related event log entries 6. Properly combine multiple declarative schema change operations inside CTEs, which is required for support geometry related builtins that add columns 7. Enforce schema usage related privileges in the declarative schema changer 8. Add add column related telemetry 9. Generate appropriate errors when a newly added column conflicts with a system column 10. Support empty column family names 11. Add columns in the user-specified order inside the declarative schema changer 12. Enforce constraints when adding new columns, specifically detecting if default values will violate them Along with the following known issues and limitations (tracked by issue: #80545) 1. Legacy schema changer will be used whenever serial and generated columns are observed. 2. Regional by row tables will default to the legacy schema changer since we are missing proper support for updating zone configs 3. Columns with the unique constraint will default to the legacy schema changer 4. Default expressions using sequences will default to the legacy schema changer 5. A number of tests cases depending on the MVCC backfiller are using the legacy schema changer for now 81077: ui: update dates to 24h UTC r=maryliag a=maryliag This commit updates all dates to use a 24h format in UTC Fixes #78442 Release note (ui change): Update all dates to use 24h format in UTC 81371: tree: extend disallow_imports_test r=ajwerner a=otan Now blocking roachpb and util/log. Release note: None 81381: bazel: augment `disallowed_imports_test` to allow disallowing `c-deps` r=ajwerner a=rickystewart Due to bitrot some of these assertions are already failing. I've filed the follow-up bugs #81375, #81378, and #81380 for these cases. I also replaced the `VerifyNoImports` test used by a few packages with `disallowed_imports_test`. Release note: None Co-authored-by: Faizan Qazi <[email protected]> Co-authored-by: Marylia Gutierrez <[email protected]> Co-authored-by: Oliver Tan <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
- Loading branch information
Showing
145 changed files
with
7,891 additions
and
1,133 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,4 +199,3 @@ query I | |
SELECT count(*) FROM system.tenant_settings WHERE tenant_id = 1234 | ||
---- | ||
0 | ||
|
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.