Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
components: clippy
cache: "true"
- run: cargo clippy --workspace --locked --all-targets -- -D warnings
# Ensure the library builds without DataFusion features unified in by
# workspace dev-dependencies or tooling crates.
- run: cargo check --locked -p iceberg-datafusion --lib

test:
name: Test
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ version = "0.12.0"
[workspace.dependencies]
anyhow = "1.0.72"
async-trait = "0.1.89"
datafusion = "56.0.0"
datafusion = { version = "56.0.0", default-features = false }
datafusion-cli = "56.0.0"
iceberg-datafusion = { path = "crates/datafusion" }
iceberg-datafusion-test-tools = { path = "crates/test-tools" }
Expand Down
1 change: 1 addition & 0 deletions crates/datafusion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ harness = false

[dev-dependencies]
criterion = "0.8"
datafusion = { workspace = true, features = ["parquet", "sql"] }
iceberg-datafusion-test-tools = { workspace = true }
insta = "1"
parquet = "60"
Expand Down
2 changes: 1 addition & 1 deletion crates/datafusion/src/table_provider/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ fn check_cmd(cmd: &CreateExternalTable) -> Result<&str> {
///
/// # See also
/// - [`iceberg::NamespaceIdent`]
/// - [`datafusion::sql::planner::SqlToRel::external_table_to_plan`]
/// - `datafusion::sql::planner::SqlToRel::external_table_to_plan`
fn complement_namespace_if_necessary(
table_name: &TableReference,
) -> Cow<'_, TableReference> {
Expand Down
6 changes: 3 additions & 3 deletions crates/test-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ version = { workspace = true }
[dependencies]
async-trait = { workspace = true }
bytes = "1"
# Only for its Arrow and Parquet re-exports, which keep this crate on the
# versions the rest of the workspace resolves to.
datafusion = { workspace = true }
# For its Arrow and Parquet re-exports, which keep this crate on the versions the
# rest of the workspace resolves to, and for `SessionContext::sql` in the harness.
datafusion = { workspace = true, features = ["parquet", "sql"] }
futures = "0.3"
iceberg = { workspace = true }
rand = { version = "0.10", default-features = false, features = ["alloc"] }
Expand Down