You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow for lazy loading files in operations (#3872)
# Description
Thus far we had a bunch of `unwraps` in our `DeltaOps` that would panic
for a missing `EagerSnapshot`. In this PR we handle missing snapshot by
resolving the options inside an operations future. This also made it
quite simple to re-load files in case we need them but
`require_files=false`. This effectively allows lazy laoding the files
while we still default to eagerly loading the data.
The PR does look quite large, but the patterns are very repetitive.
* make eager snapshot optional on builders
* resolve snapshot at beginning of operation future
To safeguard against trying to execute operations without files loaded,
we pushed the respective check on the delta config into the methods
accessing the files.
Signed-off-by: Robert Pack <[email protected]>
0 commit comments