Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update information_schema to note catalog is now supported #834

Merged
merged 1 commit into from
Jun 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/sql/information_schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The top level catalog view is `information_schema.schemata`. It lists the catalo

| Column | Description | Type | Example |
|:---|:---|:---|:---|
| `catalog_name` |Name of the database that the schema is contained in. Not yet implemented. | `VARCHAR` | `NULL` |
| `catalog_name` |Name of the database that the schema is contained in. | `VARCHAR` | `NULL` |
| `schema_name` |Name of the schema. | `VARCHAR` | `'main'` |
| `schema_owner` |Name of the owner of the schema. Not yet implemented. | `VARCHAR` | `NULL` |
| `default_character_set_catalog` |Applies to a feature not available in DuckDB. | `VARCHAR` | `NULL` |
Expand All @@ -23,7 +23,7 @@ The view that describes the catalog information for tables and views is `informa

| Column | Description | Type | Example |
|:---|:---|:---|:---|
| `table_catalog` |The catalog the table or view belongs to. Not yet implemented.| `VARCHAR` | `NULL` |
| `table_catalog` |The catalog the table or view belongs to.| `VARCHAR` | `NULL` |
| `table_schema` |The schema the table or view belongs to.| `VARCHAR` | `'main'` |
| `table_name` |The name of the table or view.| `VARCHAR` | `'widgets'` |
| `table_type` |The type of table. One of: `BASE TABLE`, `LOCAL TEMPORARY`, `VIEW`.| `VARCHAR` | `'BASE TABLE'` |
Expand All @@ -41,7 +41,7 @@ The view that describes the catalog information for columns is `information_sche

| Column | Description | Type | Example |
|:---|:---|:---|:---|
| `table_catalog` |Name of the database containing the table. Not yet implemented.| `VARCHAR` | `NULL` |
| `table_catalog` |Name of the database containing the table.| `VARCHAR` | `NULL` |
| `table_schema` |Name of the schema containing the table.| `VARCHAR` | `'main'` |
| `table_name` |Name of the table.| `VARCHAR` | `'widgets'` |
| `column_name` |Name of the column. | `VARCHAR` | `'price'` |
Expand Down