insert_table

insert_table(cdm, name, table, *, overwrite=True)

Insert a table (Ibis expr or pyarrow/pandas) into the write schema and return Ibis table ref.

Parameters

Name Type Description Default
cdm Cdm CDM reference (must be database-backed). required
name str Logical table name in write schema. required
table Any Ibis table expression, pyarrow.Table, or pandas.DataFrame. required
overwrite bool If True, replace existing table (default True). True

Returns

Name Type Description
ibis.expr.types.Table Ibis table reference to the inserted table.