ExternalCatalog — System Catalog of Permanent Entities
ExternalCatalog
is the contract for system catalog of permanent entities, i.e. databases, tables, partitions, and functions.
There are currently two implementations of ExternalCatalog
.
Catalog Alias | Catalog Class | Description |
---|---|---|
|
|
An in-memory (ephemeral) system catalog |
|
|
spark.sql.catalogImplementation property sets the current ExternalCatalog
implementation (with in-memory
being the default).
ExternalCatalog Contract
ExternalCatalog
contract assumes that implementations offer the following features:
Feature | Function | Partitions | Tables | Databases |
---|---|---|---|---|
Create |
X |
X |
X |
X |
Drop |
X |
X |
X |
X |
Rename |
X |
X |
X |
|
Get |
X |
X |
X |
|
Check Existence |
X |
X |
X |
|
List |
X |
X |
X |
|
Alter |
X |
X |
X |
|
Load |
X |
X |
X |
|
Set |
X |