pub async fn new_local(path: &str) -> Self {
        let mut delta_table =
            DeltaTable::new(path, Box::new(FileStorageBackend::new(path)))
                .expect("DeltaTable from local storage created");
        delta_table
            .load()
            .await
            .expect("DeltaTable from local storage loaded");

        Self {
            delta_table,
            bucket: "local".to_owned(),
            root: path.to_owned() + "/",
            region: "local".to_owned(),
        }
    }
/// Create a catalog from a local Delta path.
Create a catalog from a local Delta path.
Create a catalog from a local Delta path .
pub async fn new_local(path: &str) -> Self {
        let mut delta_table =
            DeltaTable::new(path, Box::new(FileStorageBackend::new(path)))
                .expect("DeltaTable from local storage created");
        delta_table
            .load()
            .await
            .expect("DeltaTable from local storage loaded");
        Self {
            delta_table,
            bucket: "local".to_owned(),
            root: path.to_owned() + "/",
            region: "local".to_owned(),
        }
    }
pub async fn new_local ( path : & str ) -> Self { let mut delta_table = DeltaTable :: new ( path , Box :: new ( FileStorageBackend :: new ( path ) ) ) . expect ( " " ) ; delta_table . load ( ) . await . expect ( " " ) ; Self { delta_table , bucket : " " . to_owned ( ) , root : path . to_owned ( ) + " " , region : " " . to_owned ( ) , } }
Create a catalog from a local Delta path.
Create a catalog from a local Delta path .
path
&str
path
&str