Skip to content

Commit 16cd638

Browse files
Deltalake datafusion (#83)
* Add deltalake * Add deltaClient * update * up * up * up * up * ai code * fix transactions * up * update * log * fix log * up * log * fix * log * fix commit * up * up * disable testing-source * up * revert main * log --------- Co-authored-by: quannguyen <[email protected]>
1 parent 9b7fc5e commit 16cd638

File tree

13 files changed

+2423
-110
lines changed

13 files changed

+2423
-110
lines changed

Cargo.lock

Lines changed: 1583 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ prometheus = "0.13.3"
3939
warp = "0.3.6"
4040
prusto = "0.5.1"
4141
tokio-retry = "0.3.0"
42+
deltalake = { version = "0.16.5", features = ["s3", "datafusion"] }
4243

4344
[dev-dependencies]
4445
async-std = { version = "1.12.0", features = ["attributes"] }

src/components/manifest_loader/mod.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ mod local;
33
use crate::common::Datasource;
44
use crate::common::Source;
55
use crate::errors::ManifestLoaderError;
6+
use crate::info;
67
use crate::schema_lookup::SchemaLookup;
78
use async_trait::async_trait;
89
use local::LocalFileLoader;
@@ -43,9 +44,10 @@ impl ManifestLoader {
4344
match protocol.as_str() {
4445
"fs" => {
4546
let local_path = format!("/{}", parts[1]);
46-
log::info!(
47-
"Using LocalFile Loader, loading subgraph build bundle at: {}",
48-
local_path
47+
info!(
48+
ManifestLoader,
49+
"Using LocalFile Loader, loading subgraph build bundle";
50+
local_path => local_path
4951
);
5052
let loader = LocalFileLoader::new(&local_path).await?;
5153
Ok(ManifestLoader::Local(loader))

0 commit comments

Comments
 (0)