-
Notifications
You must be signed in to change notification settings - Fork 634
/
Copy pathbackend_table_hierarchy.qmd
37 lines (31 loc) · 1.38 KB
/
backend_table_hierarchy.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
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 |
| 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 |