Skip to content

Commit 90efa8c

Browse files
authored
fix: update imports after client split (#16)
1 parent 5169a98 commit 90efa8c

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ delta_kernel = { version = "0.14.0", features = [
1818
"arrow",
1919
"internal-api",
2020
] }
21-
# unitycatalog-common = { path = "../unitycatalog-rs/crates/common", default-features = false, features = [
22-
# "rest-client",
21+
# unitycatalog-client = { path = "../unitycatalog-rs/crates/client", features = [
22+
# "sharing",
2323
# ] }
24-
unitycatalog-common = { git = "https://github.com/unitycatalog-incubator/unitycatalog-rs", rev = "1db3e80940499b851c7cd070ecfd257f7e552fc7", default-features = false, features = [
25-
"rest-client",
24+
# unitycatalog-common = { path = "../unitycatalog-rs/crates/common", default-features = false }
25+
unitycatalog-client = { git = "https://github.com/unitycatalog-incubator/unitycatalog-rs", rev = "68f0a4b25178f61bdbd4b8e4a1819bdc8f48a24c", features = [
26+
"sharing",
2627
] }
28+
unitycatalog-common = { git = "https://github.com/unitycatalog-incubator/unitycatalog-rs", rev = "68f0a4b25178f61bdbd4b8e4a1819bdc8f48a24c", default-features = false }

crates/datafusion/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ version.workspace = true
1111

1212
[dependencies]
1313
delta_kernel = { workspace = true }
14+
unitycatalog-client = { workspace = true }
1415
unitycatalog-common = { workspace = true }
1516

1617
datafusion = { version = "49", features = ["avro"] }

crates/datafusion/src/planner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use datafusion::{
1010
physical_planner::{DefaultPhysicalPlanner, ExtensionPlanner, PhysicalPlanner},
1111
};
1212
use sqlparser::dialect::dialect_from_str;
13-
use unitycatalog_common::client::UnityCatalogClient;
13+
use unitycatalog_client::UnityCatalogClient;
1414

1515
use crate::{
1616
sql::{

crates/datafusion/src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use delta_kernel::object_store::ObjectStore;
1212
use delta_kernel::{Engine, Snapshot, Version};
1313
use parking_lot::RwLock;
1414
use tokio::runtime::{Handle, RuntimeFlavor};
15-
use unitycatalog_common::client::UnityCatalogClient;
15+
use unitycatalog_client::UnityCatalogClient;
1616
use url::Url;
1717

1818
use crate::config::OpenLakehouseConfig;

crates/datafusion/src/sql/statements/catalogs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use arrow::array::RecordBatch;
22
use datafusion::common::{DataFusionError, Result};
33
use sqlparser::ast::{ObjectName, Value};
4-
use unitycatalog_common::client::UnityCatalogClient;
4+
use unitycatalog_client::UnityCatalogClient;
55
use url::Url;
66

77
use crate::sql::{create_response_to_batch, drop_response_to_batch};

crates/datafusion/src/unity/exec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use datafusion::{
1212
stream::RecordBatchStreamAdapter,
1313
},
1414
};
15-
use unitycatalog_common::client::UnityCatalogClient;
15+
use unitycatalog_client::UnityCatalogClient;
1616

1717
use crate::KernelTaskContextExt;
1818

0 commit comments

Comments
 (0)