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
16 changes: 16 additions & 0 deletions crates/integrations/datafusion/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,22 @@ impl PaimonCatalogProvider {
self
}

pub(crate) fn catalog(&self) -> &Arc<dyn Catalog> {
&self.catalog
}

/// The session's dynamic options as they stand now.
pub(crate) fn session_options(&self) -> HashMap<String, String> {
self.dynamic_options
.read()
.unwrap_or_else(|e| e.into_inner())
.clone()
}

pub(crate) fn blob_reader_registry(&self) -> &BlobReaderRegistry {
&self.blob_reader_registry
}

/// Register an engine for a table type the Paimon reader cannot serve
/// (e.g. [`PaimonTableType::IcebergTable`]); everything else takes the
/// Paimon path unchanged. Kept inside the provider so the registered
Expand Down
Loading
Loading