You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/07/07 11:36:00 UTC

(datafusion) branch main updated: chore(docs): resolve some docs typos (#23347)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 9747084187 chore(docs): resolve some docs typos (#23347)
9747084187 is described below

commit 9747084187ddf5da1b0df23ee5b997b928114ce6
Author: WeblWabl <de...@gmail.com>
AuthorDate: Tue Jul 7 06:24:58 2026 -0500

    chore(docs): resolve some docs typos (#23347)
    
    Fixes a few docs typos
---
 datafusion/catalog-listing/src/table.rs      | 18 +++++++++---------
 datafusion/core/src/execution/context/mod.rs |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/datafusion/catalog-listing/src/table.rs b/datafusion/catalog-listing/src/table.rs
index 9d8b77cfcc..632b829b16 100644
--- a/datafusion/catalog-listing/src/table.rs
+++ b/datafusion/catalog-listing/src/table.rs
@@ -148,15 +148,15 @@ pub struct ListFilesResult {
 /// # use datafusion_datasource_parquet::file_format::ParquetFormat;/// #
 /// # use datafusion_catalog::Session;
 /// async fn get_listing_table(session: &dyn Session) -> Result<Arc<dyn TableProvider>> {
-/// let table_path = "/path/to/parquet";
+///     let table_path = "/path/to/parquet";
 ///
-/// // Parse the path
-/// let table_path = ListingTableUrl::parse(table_path)?;
+///     // Parse the path
+///     let table_path = ListingTableUrl::parse(table_path)?;
 ///
-/// // Create default parquet options
-/// let file_format = ParquetFormat::new();
-/// let listing_options = ListingOptions::new(Arc::new(file_format))
-///   .with_file_extension(".parquet");
+///     // Create default parquet options
+///     let file_format = ParquetFormat::new();
+///     let listing_options = ListingOptions::new(Arc::new(file_format))
+///         .with_file_extension(".parquet");
 ///
 /// // Resolve the schema
 /// let resolved_schema = listing_options
@@ -170,8 +170,8 @@ pub struct ListFilesResult {
 /// // Create a new TableProvider
 /// let provider = Arc::new(ListingTable::try_new(config)?);
 ///
-/// # Ok(provider)
-/// # }
+/// Ok(provider)
+/// }
 /// ```
 #[derive(Debug, Clone)]
 pub struct ListingTable {
diff --git a/datafusion/core/src/execution/context/mod.rs b/datafusion/core/src/execution/context/mod.rs
index e878b5a53f..0ff3ab7d0e 100644
--- a/datafusion/core/src/execution/context/mod.rs
+++ b/datafusion/core/src/execution/context/mod.rs
@@ -167,7 +167,7 @@ where
 /// * Create a [`DataFrame`] from a CSV or Parquet data source.
 /// * Register a CSV or Parquet data source as a table that can be referenced from a SQL query.
 /// * Register a custom data source that can be referenced from a SQL query.
-/// * Execution a SQL query
+/// * Execute a SQL query
 ///
 /// # Example: DataFrame API
 ///


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org