-
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.
51621: descs: push descriptor type hydration into the desc.Collection r=rohany a=rohany Fixes #49484. Preparation for #51385. Up until now, the `planner` was responsible for installing user defined type metadata in tables that contained user defined types. This was slightly messy and caused leakage of responsibility regarding when descriptors had user defined types vs when they didn't. This commit pushes that responsibility into the `descs.Collection`. It also paves the way for work to avoid copying `ImmutableTableDescriptor`s that contain user defined types every time that they need hydration. Release note: None 51828: sql,stats: fix flakes in TestCacheWait and TestQueryCache r=jordanlewis a=rytaft **stats: fix flake in TestCacheWait** This commit fixes a flake in `TestCacheWait`, which was introduced by #51616. That PR changed the call to `InvalidateTableStats` in `TestCacheWait` to `RefreshTableStats`, but that change should not have been made. The purpose of the test is to test that the cache invalidation and waiting mechanisms work correctly, and therefore it must call `InvalidateTableStats`, not `RefreshTableStats`. Fixes #51712 **sql: fix flake in TestQueryCache/group/statschange** This commit fixes a flake in TestQueryCache/group/statschange, which was introduced by #51616. That PR made updates to the stats cache asynchronous, so we can no longer expect the query cache to be invalidated immediately after a stats update. This commit fixes the problem by introducing a retry mechanism into the test. Fixes #51693 51837: sql: don't show the "hidden" column flag in EXPLAIN r=RaduBerinde a=RaduBerinde The ResultColumns.Hidden flag is used internally; it does not carry useful information for users and should not be visible in EXPLAIN. Release note (sql change): EXPLAIN no longer shows the "hidden" annotation for columns. Co-authored-by: Rohan Yadav <[email protected]> Co-authored-by: Rebecca Taft <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
18 changed files
with
225 additions
and
207 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
Oops, something went wrong.