Skip to main content
Insert rows into an existing Databricks table without writing SQL: pass the table and a list of row objects keyed by column name. Values are sent as parameters and cast to the column types by Databricks. Large lists are split across several INSERT statements that each commit on their own. Needs MODIFY on the table.

Inputs

Output

Type: Dict Returns table, inserted_rows (rows Databricks reports as inserted), columns (the column names used) and statements (how many INSERT statements ran). Fields: table, inserted_rows, columns, statements