Skip to content
Pyrula

Delta

Generated from the type stubs and docstrings. Do not edit by hand.



create(path: str, cls: type, partition_by: Optional[list[str]] = None, storage_options: Any = None, table_properties: Optional[dict[str, str]] = None) -> Any
exists(path: str, storage_options: Any = None) -> bool
merge_keyed(path: str, run_id: str, step_id: str, rows: Any, cls: Optional[type] = None, storage_options: Any = None) -> Any
read(self, cls: type, version: Optional[int] = None, timestamp: Optional[str] = None, columns: Optional[list[str]] = None, filters: Any = None) -> Any
read_arrow(self, version: Optional[int] = None, columns: Optional[list[str]] = None, filters: Any = None) -> Any
scan_batches(self, batch_size: int = 65536, columns: Optional[list[str]] = None, filters: Any = None, version: Optional[int] = None) -> Any
load_cdf(self, starting_version: int, ending_version: Optional[int] = None, columns: Optional[list[str]] = None) -> Any
added_files(self, from_version: int, to_version: int) -> list[str]
read_added(self, from_version: int, to_version: int, columns: Optional[list[str]] = None, filters: Any = None) -> Any
append(self, records: Any, cls: Optional[type] = None, schema_mode: str = 'merge') -> Any
write_arrow(path: str, data: Any, mode: str = 'append', commit_metadata: Optional[dict[str, str]] = None, storage_options: Any = None, schema_mode: Optional[str] = None, report: bool = True) -> Any
overwrite(self, records: Any, cls: Optional[type] = None, partition_by: Optional[list[str]] = None, predicate: Optional[str] = None) -> Any
delete(self, predicate: str) -> Any
update(self, predicate: str, values: dict) -> Any
merge(self, source: Any, predicate: str, cls: Optional[type] = None, source_alias: str = 'source', target_alias: str = 'target') -> MergeBuilder
schema(self) -> Any
version(self) -> Any
history(self, limit: int = 10) -> Any
vacuum(self, retention_hours: int = 168, dry_run: bool = False, enforce_retention_duration: bool = True) -> Any
optimize(self) -> Any

when_matched_update_all(self) -> MergeBuilder
when_matched_delete(self, predicate: Optional[str] = None) -> MergeBuilder
when_not_matched_insert_all(self) -> MergeBuilder
execute(self) -> Any

Fields:

  • rows_inserted: int
  • rows_updated: int
  • rows_deleted: int
  • version: int
  • files_added: int
  • files_removed: int





Fields:

  • rows_written: int
  • version: int
  • files_added: int
  • files_removed: int