File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,10 @@ impl CatalogProviderList for ResolvedCatalogProviderList {
190
190
/// After implementing this trait you can call the [`AsyncSchemaProvider::resolve`] method to get an
191
191
/// `Arc<dyn SchemaProvider>` that contains a cached copy of the referenced tables. The `resolve`
192
192
/// method can be slow and asynchronous as it is only called once, before planning.
193
+ ///
194
+ /// See the [remote_catalog.rs] for an end to end example
195
+ ///
196
+ /// [remote_catalog.rs]: https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/remote_catalog.rs
193
197
#[ async_trait]
194
198
pub trait AsyncSchemaProvider : Send + Sync {
195
199
/// Lookup a table in the schema provider
@@ -202,6 +206,8 @@ pub trait AsyncSchemaProvider: Send + Sync {
202
206
///
203
207
/// This cache is intended to be short-lived for the execution of a single query. There is no mechanism
204
208
/// for refresh or eviction of stale entries.
209
+ ///
210
+ /// See the [`AsyncSchemaProvider`] documentation for additional details
205
211
async fn resolve (
206
212
& self ,
207
213
references : & [ TableReference ] ,
You can’t perform that action at this time.
0 commit comments