Skip to content

Commit

Permalink
draft implementation for replaceWhere
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Ulmasov <[email protected]>
  • Loading branch information
r3stl355 committed Dec 28, 2023
1 parent bc9253c commit 592355e
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 36 deletions.
6 changes: 6 additions & 0 deletions crates/deltalake-core/src/delta_datafusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,12 @@ impl DeltaDataChecker {
self
}

/// Add the specified set of constraints to the current DeltaDataChecker's constraints
pub fn with_extra_constraints(mut self, constraints: Vec<Constraint>) -> Self {
self.constraints.extend(constraints);
self
}

/// Create a new DeltaDataChecker
pub fn new(snapshot: &DeltaTableState) -> Self {
let metadata = snapshot.metadata();
Expand Down
Loading

0 comments on commit 592355e

Please sign in to comment.