Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yjshen committed Jul 25, 2023
1 parent 514fe12 commit d585838
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/src/delta_datafusion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,9 @@ impl TreeNodeVisitor for FindFilesExprProperties {
}
}

/// Representing the result of the `find_files` function.
pub struct FindFiles {
/// A list of `Add` objects that match the given predicate
pub candidates: Vec<Add>,
/// Was a physical read to the datastore required to determine the candidates
pub partition_scan: bool,
Expand Down Expand Up @@ -1289,6 +1291,7 @@ pub(crate) async fn scan_memory_table(
join_batches_with_add_actions(batches, map)
}

/// Finds files in a snapshot that match the provided predicate.
pub async fn find_files<'a>(
snapshot: &DeltaTableState,
object_store: ObjectStoreRef,
Expand Down

0 comments on commit d585838

Please sign in to comment.