MCPcopy Create free account
hub / github.com/apache/datafusion / connect

Method connect

datafusion-examples/examples/data_io/remote_catalog.rs:133–137  ·  view source on GitHub ↗

Establish a connection to the remote catalog

()

Source from the content-addressed store, hash-verified

131impl RemoteCatalogInterface {
132 /// Establish a connection to the remote catalog
133 pub async fn connect() -> Result<Self> {
134 // In a real implementation this method might connect to a remote
135 // catalog, validate credentials, cache basic information, etc
136 Ok(Self {})
137 }
138
139 /// Fetches information for a specific table
140 pub async fn table_info(&self, name: &str) -> Result<Option<SchemaRef>> {

Callers 2

clientFunction · 0.45
setupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected