Expand description
High level operations API to interact with Delta tables
At the heart of the high level operations APIs is the DeltaOps
struct,
which consumes a DeltaTable
and exposes methods to attain builders for
several high level operations. The specific builder structs allow fine-tuning
the operations’ behaviors and will return an updated table potentially in conjunction
with a data stream,
if the operation returns data as well.
Modules§
- Add a new column to a table
- Enable table features
- Provide common cast functionality for callers
- Add a check constraint to a table
- Command for converting a Parquet table to a Delta table in place
- Command for creating a new delta table
- Delete records from a Delta Table that statisfy a predicate
- Drop a constraint from a table
- Audit the Delta Table for active files that do not exist in the underlying filesystem and remove them.
- Module for reading the change datafeed of delta tables
- Merge data from a source dataset with the target Delta Table based on a join predicate. A full outer join is performed which results in source and target records that match, source records that do not match, or target records that do not match.
- Optimize a Delta Table
- Perform restore of delta table to a specified version or datetime
- Set table properties on a table
- Add a commit entry to the Delta Table. This module provides a unified interface for modifying commit behavior and attributes
- Update records from a Delta Table for records statisfy a predicate
- Vacuum a Delta table
- New Table Semantics
- Abstractions and implementations for writing data to delta tables
Structs§
- High level interface for executing commands against a DeltaTable
Functions§
- Create a vector of record batches from a stream
- Get the num_idx_columns and stats_columns from the table configuration in the state If table_config does not exist (only can occur in the first write action) it takes the configuration that was passed to the writerBuilder.