-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add SchemaApi::get_table_in_db (#16582)
In cases where the `database-id` is already known, use this method to get a table as replacement of `get_table()`. `get_table()` re-fetch database-id by database-name, thus leads to additional unnecessary delay and potential consistency issues, because a database may already be renamed, and using the original database-name just gets the wrong database instance.
- Loading branch information
1 parent
530de62
commit b7acf5c
Showing
3 changed files
with
76 additions
and
33 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