datafusion.catalog

Data catalog providers.

Classes

Catalog

DataFusion data catalog.

Database

DataFusion Database.

Table

DataFusion table.

Module Contents

class datafusion.catalog.Catalog(catalog: datafusion._internal.Catalog)

DataFusion data catalog.

This constructor is not typically called by the end user.

database(name: str = 'public') Database

Returns the database with the given name from this catalog.

names() list[str]

Returns the list of databases in this catalog.

catalog
class datafusion.catalog.Database(db: datafusion._internal.Database)

DataFusion Database.

This constructor is not typically called by the end user.

names() set[str]

Returns the list of all tables in this database.

table(name: str) Table

Return the table with the given name from this database.

db
class datafusion.catalog.Table(table: datafusion._internal.Table)

DataFusion table.

This constructor is not typically called by the end user.

schema() pyarrow.Schema

Returns the schema associated with this table.

property kind: str

Returns the kind of table.

table