Apache DataFusion SQL Query Engine
feat: fix docs (#6534)
Folyd9d22054a1fc1
diff --git a/datafusion/core/src/catalog/information_schema.rs b/datafusion/core/src/catalog/information_schema.rsindex 6e3a9acbb5..04de11dc6b 100644--- a/datafusion/core/src/catalog/information_schema.rs+++ b/datafusion/core/src/catalog/information_schema.rs@@ -17,7 +17,7 @@//! Implements the SQL [Information Schema] for DataFusion.//!-//! Information Schema]<https://en.wikipedia.org/wiki/Information_schema>+//! [Information Schema]: https://en.wikipedia.org/wiki/Information_schemause async_trait::async_trait;use std::{any::Any, sync::Arc};diff --git a/datafusion/core/src/catalog/listing_schema.rs b/datafusion/core/src/catalog/listing_schema.rsindex 50f733c323..cb63659997 100644--- a/datafusion/core/src/catalog/listing_schema.rs+++ b/datafusion/core/src/catalog/listing_schema.rs@@ -32,19 +32,21 @@ use std::collections::{HashMap, HashSet};use std::path::Path;use std::sync::{Arc, Mutex};-/// A `SchemaProvider` that scans an `ObjectStore` to automatically discover tables+/// A [`SchemaProvider`] that scans an [`ObjectStore`] to automatically discover tables////// A subfolder relationship is assumed, i.e. given:-/// authority = s3://host.example.com:3000-/// path = /data/tpch-/// factory = `DeltaTableFactory`+/// - authority = `s3://host.example.com:3000`+/// - path = `/data/tpch`+/// - factory = `DeltaTableFactory`////// A table called "customer" will be registered for the folder:-/// s3://host.example.com:3000/data/tpch/customer+/// `s3://host.example.com:3000/data/tpch/customer`////// assuming it contains valid deltalake data, i.e:-/// s3://host.example.com:3000/data/tpch/customer/part-00000-xxxx.snappy.parquet-/// s3://host.example.com:3000/data/tpch/customer/_delta_log/+/// - `s3://host.example.com:3000/data/tpch/customer/part-00000-xxxx.snappy.parquet`+/// - `s3://host.example.com:3000/data/tpch/customer/_delta_log/`+///+/// [`ObjectStore`]: object_store::ObjectStorepub struct ListingSchemaProvider {authority: String,path: object_store::path::Path,