Skip to content

Commit

Permalink
dbg commit to try and fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Lanham committed Sep 19, 2024
1 parent 90708a3 commit 9513ed0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions kernel/src/engine/default/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ impl<E: TaskExecutor> FileSystemClient for ObjectStoreFileSystemClient<E> {
// TODO properly handle table prefix
let prefix = self.table_root.child("_delta_log");

println!("Prefix is {:?}", prefix);

let store = self.inner.clone();

// This channel will become the iterator
Expand Down Expand Up @@ -234,8 +236,15 @@ mod tests {

let url = Url::from_directory_path(tmp.path()).unwrap();
let store = Arc::new(LocalFileSystem::new());
let prefix = Path::from(url.path());
let store: Arc<DynObjectStore> = store;
let prefix = Path::from_url_path(url.path()).expect("Couldn't get path");

// debug code for windows
let s = store.clone();
let mut l = s.list(Some(&prefix));
while let Some(meta) = l.next().await {
println!("DBG GOT {:?}", meta.unwrap());
}

let engine = DefaultEngine::new(store, prefix, Arc::new(TokioBackgroundExecutor::new()));
let client = engine.get_file_system_client();

Expand Down

0 comments on commit 9513ed0

Please sign in to comment.