Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion bindings/python/tests/test_datafusion_table_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import datafusion

assert (
datafusion.__version__ >= "45"
datafusion.__version__ >= "47"
) # iceberg table provider only works for datafusion >= 45
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the comments?



Expand Down
2 changes: 1 addition & 1 deletion crates/integrations/datafusion/src/table/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct IcebergTableProvider {
/// A reference-counted arrow `Schema`.
schema: ArrowSchemaRef,
/// The catalog that the table belongs to.
catalog: Option<Arc<dyn Catalog>>,
catalog: Option<Arc<dyn Catalog + Send + Sync + 'static>>,
}

impl IcebergTableProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ async fn test_metadata_table() -> Result<()> {

#[tokio::test]
async fn test_insert_into() -> Result<()> {
let iceberg_catalog = get_iceberg_catalog();
let iceberg_catalog = get_iceberg_catalog().await;
let namespace = NamespaceIdent::new("test_insert_into".to_string());
set_test_namespace(&iceberg_catalog, &namespace).await?;

Expand Down Expand Up @@ -553,7 +553,7 @@ fn get_nested_struct_type() -> StructType {

#[tokio::test]
async fn test_insert_into_nested() -> Result<()> {
let iceberg_catalog = get_iceberg_catalog();
let iceberg_catalog = get_iceberg_catalog().await;
let namespace = NamespaceIdent::new("test_insert_nested".to_string());
set_test_namespace(&iceberg_catalog, &namespace).await?;
let table_name = "nested_table";
Expand Down
Loading