Skip to content
Draft
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
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 @@ -78,7 +78,7 @@ impl IcebergTableProvider {
///
/// Loads the table once to get the initial schema, then stores the catalog
/// reference for future metadata refreshes on each operation.
pub(crate) async fn try_new(
pub async fn try_new(

Choose a reason for hiding this comment

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

why we need it to be public?

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1, I don't think this should be made public. It's more recommended to use IcebergCatalogProvider indirectly register table providers. But would love to hear the use case if any

catalog: Arc<dyn Catalog>,
namespace: NamespaceIdent,
name: impl Into<String>,
Expand Down
Loading