-
lance.MergeInsertBuilder.execute_uncommitted(data_obj: ReaderLike, *, schema: pa.Schema | None =
None
) tuple[Transaction, dict[str, Any]] Executes the merge insert operation without committing
This function updates the original dataset and returns a dictionary with information about merge statistics - i.e. the number of inserted, updated, and deleted rows.
- Parameters:
- data_obj : ReaderLike¶
The new data to use as the source table for the operation. This parameter can be any source of data (e.g. table / dataset) that
write_dataset()
accepts.- schema : Optional[pa.Schema]¶
The schema of the data. This only needs to be supplied whenever the data source is some kind of generator.