Skip to content

Commit

Permalink
docs(hierarchy): add brief doc listing backend hierarchy types
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth committed Mar 25, 2024
1 parent ed69960 commit 190b2c7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/backend_table_hiearchy.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: Backend Table Hierarchy
---

Several SQL backends support two levels of hierarchy in organizing tables
(although the levels are also used for other purposes, like data access,
billing, etc.).

Ibis uses the following terminology:

- `database`: a collection of tables
- `catalog`: a collection of databases

Below is a table with the terminology used by each backend for the two levels of
hierarchy. This is provided as a reference, note that when using Ibis, we will
use the terms `catalog` and `database` and map them onto the appropriate fields.


| Backend | Catalog | Database |
|------------|----------------|------------|
| bigquery | project | database |
| clickhouse | | database |
| dask | | NA |
| datafusion | catalog | schema |
| druid | dataSourceType | dataSource |
| duckdb | database | schema |
| flink | catalog | database |
| impala | | database |
| mssql | database | schema |
| mysql | | database |
| oracle | | database |
| pandas | | NA |
| polars | | NA |
| postgres | database | schema |
| pyspark | | database |
| risingwave | database | schema |
| snowflake | | database |
| trino | catalog | schema |

0 comments on commit 190b2c7

Please sign in to comment.