-
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.
85199: sql: move function properties to overload level r=chengxiong-ruan a=chengxiong-ruan There're 3 commits: (1) sql: use Overload in FunctionDefinition instead of overloadImpl It feels a bit annoying to always need to cast overloadImpl to Overload. In fact, all `overloadImpl`s in FunctionDefinition are `Overload`s (2) sql: move function properties to overload level Moving function propterties to overload level, but still keep it in FunctionDefiniton since it's still needed for internal usage like docgen. Later on, the function resolution interface will return a resolved version of function definition which won't have the properties field. Instead, we'll go through overloads to fetch properties for resolved function definition. Current FunctionDefiniton will be kept for builtin functions only. (3) sql: remove usage of GetBuiltinProperties from GetSequenceFromFunc In `GetSequenceFromFunc` we resolve a functiong and then use the name to get builtin properties. This seems unnecessary because we may just get function properties from the resolved function definition. With this change, we are eleminating a good amount of usage cases of "GetBuiltinProperties", which seems to be the majority of the usages of "GetBuiltinProperties". There shouldn't be any functionality changes since we don't have UDFs yet. 85259: roachtest: fix cdc/schemareg r=ajwerner a=ajwerner Now that DROP COLUMN uses the declarative schema changer, you no longer see touch writes. Fixes #84789 Release note: None 85281: backupccl: show backup was incorrectly capturing a ctx r=yuzefovich a=adityamaru This diff fixes a span use after finish that was a result of show backup code incorrectly capturing a context. Fixes: #85201 Release note: None 85284: dev: fix `test --changed` when no files are changed r=rail a=rickystewart With the previous version of the code this would fail with a confusing error message if no files were changed. Release note: None Co-authored-by: Chengxiong Ruan <[email protected]> Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: Aditya Maru <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
- Loading branch information
Showing
39 changed files
with
256 additions
and
159 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
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.