Skip to content

Commit

Permalink
implement replaceWhere
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Ulmasov <ulmasov@hotmail.com>
  • Loading branch information
r3stl355 committed Jan 28, 2024
1 parent 1b6c830 commit 292b0ce
Show file tree
Hide file tree
Showing 10 changed files with 577 additions and 43 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 @@ -878,6 +878,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 invariants = snapshot.schema().get_invariants().unwrap_or_default();
Expand Down

0 comments on commit 292b0ce

Please sign in to comment.