-
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.
Browse files
Browse the repository at this point in the history
95153: sql/schemachanger: Drop function in declarative schema changer r=chengxiong-ruan a=chengxiong-ruan This pr contains 3 commits: 1. add function descriptor elements definition 2. a simple rename of RemoveViewBackReferencesInRelation to RemoveBackReferencesInRelation 3. drop function logics Part of: https://cockroachlabs.atlassian.net/browse/CRDB-19495 95524: kvserver: fix race on Replica.tenantLimiter r=tbg a=pavelkalinnikov When Replica is being destroyed, it can set tenantLimiter to nil. However, all accessors assume synchronization through IsInitialized atomic check and that this field can't be modified after the replica is initialized. There is no particular need in nullifying this limiter, the replica is going away soon, so this commit removes this line in order to fix the data race. Fixes #95345 Epic: none Release note: none 96002: eval: fix internal error casting bytes to bit r=msirek a=msirek Fixes #95543 Release note (bug fix): This patch fixes an internal error which may occur in the SHOW RANGE FROM TABLE statement when the FOR ROW clause specifies a BYTE literal and the corresponding column data type is BIT. 96030: docgen: remove redundant SQL diagrams r=nickvigilante a=taroface Diagrams updated in #95591 were not generating HTML files as intended because of some redundant lines in the code. This removes the redundancies per `@nickvigilante.` Epic: none Release note: none Release justification: non-production code change 96048: optbuilder: fix internal error in LATERAL queries with redundant function calls r=DrewKimball,mgartner a=msirek Fixes #95615 Function `optbuilder.Builder.buildZip` may try to build 2 identical function calls into 2 zip expressions, each one adding one or more columns to the output. However, if buildZip's called to `buildScalar` recognizes a scalar expression has already been built, it skips adding a new output columns and returns the previously-built output column. This mismatch in the number of output columns actually built, and the number of columns communicated to the parent expression via `outScope` confuses the execution engine, and in this case we error out because the expected data type of one column doesn't match the actual data type. The fix is to skip building zip expressions with redundant expressions which already exist in `outScope`. Release note (bug fix): This patch fixes rare internal errors in LATERAL queries with redundant function calls. 96099: upgrades: share a column family for the new tenant columns r=ajwerner a=knz Fixes #96093. The previous change in that area was causing the new columns to be (implicitly) added into separate column families. However, we're expecting (from the bootstrap schema) to use a single column family for them. This patch fixes that. Release note: None Co-authored-by: Chengxiong Ruan <[email protected]> Co-authored-by: Pavel Kalinnikov <[email protected]> Co-authored-by: Tobias Grieger <[email protected]> Co-authored-by: Mark Sirek <[email protected]> Co-authored-by: Ryan Kuo <[email protected]> Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
100 changed files
with
3,139 additions
and
354 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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
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.