-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58013: colexec: fix spilling queue r=yuzefovich a=yuzefovich This commit refactors `enqueue` method of the spilling queue to deep-copy the passed-in batches if they are kept in memory. Previous behavior was suboptimal because it was forcing the caller to always allocate a new batch. Additionally, the spilling queue will now perform a coalescing step by attempting to append as many tuples to the tail in-memory batch as possible. The in-memory batches are allocated with dynamically increasing capacity. This allows us to significantly simplify the code of the router outputs which were performing the coalescing step previously. Additionally, this commit fixes a couple of uses of `enqueue` method (the router outputs and the merge joiner) in which they forgot to enqueue a zero-length batch which is necessary when the disk queue is initialized. Fixes: #47062. Release note: None 58504: sql: qualify table name for alter_table_owner event log r=ajwerner a=the-ericwang35 Fixes #57960. Previously, event logs were not capturing the qualified table names for ALTER TABLE OWNER commands. This PR changes the event logs to use the qualified table name. Tests were fixed to reflect these changes. Release note (bug fix): qualify table name for alter_table_owner event log 58743: colexec: fix decimal/interval overload error propagation r=yuzefovich a=yuzefovich Fixes: #57773. Release note (bug fix): CockroachDB could previously return an internal error when evaluating a binary expression between a Decimal and an Interval that required a cast to a Float when the value is out of range, and now a more user-friendly error is returned instead. Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Eric Wang <[email protected]>
- Loading branch information
Showing
17 changed files
with
394 additions
and
409 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.