Skip to content

Commit

Permalink
feat: move unity catalog integration into its own crate
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Carman <[email protected]>
  • Loading branch information
hntd187 authored and rtyler committed Dec 16, 2024
1 parent 079bd9a commit e5c8e46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/delta_datafusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ fn _arrow_schema(snapshot: &Snapshot, wrap_partitions: bool) -> DeltaResult<Arro
pub(crate) fn files_matching_predicate<'a>(
snapshot: &'a EagerSnapshot,
filters: &[Expr],
) -> DeltaResult<impl Iterator<Item = Add> + 'a + use<'a>> {
) -> DeltaResult<impl Iterator<Item = Add> + 'a> {
if let Some(Some(predicate)) =
(!filters.is_empty()).then_some(conjunction(filters.iter().cloned()))
{
Expand Down
4 changes: 1 addition & 3 deletions crates/core/src/operations/load_cdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ impl CdfLoadBuilder {
return if self.allow_out_of_range {
Ok((change_files, add_files, remove_files))
} else {
Err(DeltaTableError::ChangeDataTimestampGreaterThanCommit {
ending_timestamp: ending_timestamp,
})
Err(DeltaTableError::ChangeDataTimestampGreaterThanCommit { ending_timestamp })
};
}
}
Expand Down

0 comments on commit e5c8e46

Please sign in to comment.