-
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.
86005: sql: allow anonymous args and numeric arg references in UDFs r=mgartner a=mgartner It is now possible to create UDFs with anonymous arguments that can be referenced like a placeholder in a prepared statement. For example: CREATE FUNCTION add(INT, INT) RETURNS INT LANGUAGE SQL AS $$ SELECT $1 + $2; $$ Named arguments can also be referenced by numeric placeholders. For example: CREATE FUNCTION add(x INT, y INT) RETURNS INT LANGUAGE SQL AS $$ SELECT x + $2; $$ Release note: None Release justification: Adds critical functionality to a new feature. 86424: colflow: handle error during draining correctly r=yuzefovich a=yuzefovich This commit fixes the way we handle internal errors that occur during the draining in the `FlowCoordinator`. Previously, with all such errors we would call `MoveToDraining`, but if the processor is already draining, then it would panic. This could occur, for example, when accounting for the metadata footprint and exceeding the limit (which was added several weeks ago). This is now fixed. Found when looking at #86372. Release justification: bug fix. Release note: None Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
9 changed files
with
526 additions
and
29 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.