DeltaMergeBuilder
Namespace: Polars.FSharp
Builder for Delta Merge (Upsert) operations. Supports both local paths and Unity Catalog tables.
Instance Methods
Execute
Executes the constructed merge operation against the Delta Table.
fsharp
member Execute : unit -> unitWhenMatchedDelete
Delete the matched target row.
fsharp
member WhenMatchedDelete(?condition: Expr) : DeltaMergeBuilderParameters
| Name | Type | Description |
|---|---|---|
condition | Expr (optional) | - |
WhenMatchedUpdate
Update the matched target row with source data.
fsharp
member WhenMatchedUpdate(?condition: Expr) : DeltaMergeBuilderParameters
| Name | Type | Description |
|---|---|---|
condition | Expr (optional) | - |
WhenNotMatchedBySourceDelete
Delete the target row when it does not exist in the source data.
fsharp
member WhenNotMatchedBySourceDelete(?condition: Expr) : DeltaMergeBuilderParameters
| Name | Type | Description |
|---|---|---|
condition | Expr (optional) | - |
WhenNotMatchedInsert
Insert a new row from the source data when it does not match any target row.
fsharp
member WhenNotMatchedInsert(?condition: Expr) : DeltaMergeBuilderParameters
| Name | Type | Description |
|---|---|---|
condition | Expr (optional) | - |