-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ddl): deprecate all
*_schema
methods
BREAKING CHANGE: We are removing the word `schema` in its hierarchical sense. We use `database` to mean a collection of tables. The behavior of all `*_database` methods now applies only to collections of tables and never to collections of `database` (formerly `schema`) * `CanListDatabases` abstract methods now all refer to collections of tables. * `CanCreateDatabases` abstract methods now all refer to collections of tables. * `list_databases` now takes a kwarg `catalog`. * `create_database` now takes a kwarg `catalog`. * `drop_database` now takes a kwarg `catalog`. * `current_database` now refers to the current collection of tables. * `CanCreateSchema` is deprecated and `create_schema`, `drop_schema`, `list_schemas`, and `current_schema` are deprecated and redirect to the corresponding method/property ending in `database`. * We add a `CanListCatalog` and `CanCreateCatalog` that can list and create collections of `database`, respectively. The new methods are `list_catalogs`, `create_catalog`, `drop_catalog`, * There is a new `current_catalog` property. refactor(duckdb): catalog database switchover refactor(snowflake): catalog database switchover refactor(trino): catalog database switchover refactor(postgres): catalog database switchover refactor(oracle): catalog database switchover refactor(mssql): catalog database switchover refactor(bigquery): catalog database switchover refactor(clickhouse): catalog database switchover refactor(datafusion): catalog database switchover refactor(mysql): catalog database switchover refactor(exasol): catalog database switchover refactor(risingwave): catalog database switchover test(list_databases): add test for list_database contents
- Loading branch information
Showing
23 changed files
with
635 additions
and
406 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
Oops, something went wrong.