-
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.
49136: opt: allow join filter FDs to be used in determining a left join key r=rytaft a=DrewKimball Previously, the functional dependencies from a join's "on" filters were not used in determining the key of the output of a left join. This patch allows a key that only has columns from the left input of the LeftJoin to be used if one can be proven to exist. The columns of the left input of the LeftJoin form a strict key over the result of the left join when the following conditions are met: 1. The original left input had a strict key. 2. The columns of the left input form a strict key over the result of an InnerJoin between the left and right inputs on the given filters. (Or, in other words, the left columns form a strict key over the filtered cartesian product of the join inputs). If the above conditions do not hold, a key over the unfiltered cartesian product will simply be used, if there is one. Release note: None 49213: sql: populate the pg_enum catalog table r=rohany a=rohany Fixes #48359. Release note (sql change): Populate the catalog table `pg_catalog.pg_enum`. 49285: vendor: bump pebble to af0d71572c7bd24deb066d09eee646b6cb7460a4 r=petermattis a=petermattis * internal/private: ratchet visible sequence number too * internal/rate: add Limiter.Delay{,N} * db: refactor tableCache.estimateDiskUsage into withReader * internal/cache: optimize common case of Cache.Delete() * internal/cache: remove weak cache handles * internal/randvar: optimize Uniform.IncMax * internal/{manual,rawalloc}: remove empty assembly files * internal/replay: assign ingested tables correct sequence number * db: wait for pending writes during ingestion * db: replace tableCacheShard LRU with CLOCK-Pro * internal/randvar: reduce exclusive locks in randvar * cmd/pebble: miscellaneous ycsb benchmark improvements * internal/rate: change Reserve{,N} to return a value Fixes #49154 Release note: None 49336: roachtest: bump latest patch version number to 19.2.7 r=jlinder a=jlinder Before: The latest 19.2 release was 19.2.6. Why: 19.2.7 is released Now: The latest noted release is 19.2.7. Release note: None Co-authored-by: Drew Kimball <andrewekimball@gmail.com> Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu> Co-authored-by: Peter Mattis <petermattis@gmail.com> Co-authored-by: James H. Linder <jamesl@cockroachlabs.com>
- Loading branch information
Showing
26 changed files
with
986 additions
and
570 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.