w.online_tables
: Online Tables¶
- class databricks.sdk.service.catalog.OnlineTablesAPI¶
Online tables provide lower latency and higher QPS access to data from Delta tables.
- create([, table: Optional[OnlineTable]]) Wait[OnlineTable] ¶
Create an Online Table.
Create a new Online Table.
- Parameters:
table –
OnlineTable
(optional) Online Table information.- Returns:
Long-running operation waiter for
OnlineTable
. See :method:wait_get_online_table_active for more details.
- create_and_wait([, table: Optional[OnlineTable], timeout: datetime.timedelta = 0:20:00]) OnlineTable ¶
- delete(name: str)¶
Delete an Online Table.
Delete an online table. Warning: This will delete all the data in the online table. If the source Delta table was deleted or modified since this Online Table was created, this will lose the data forever!
- Parameters:
name – str Full three-part (catalog, schema, table) name of the table.
- get(name: str) OnlineTable ¶
Get an Online Table.
Get information about an existing online table and its status.
- Parameters:
name – str Full three-part (catalog, schema, table) name of the table.
- Returns:
- wait_get_online_table_active(name: str, timeout: datetime.timedelta = 0:20:00, callback: Optional[Callable[[OnlineTable], None]]) OnlineTable ¶