From 5587e988bf38df66dbe02895cd764fc20b4d19bf Mon Sep 17 00:00:00 2001 From: nuno-faria Date: Sun, 20 Sep 2026 16:09:54 +0100 Subject: [PATCH] docs: Remove extra commas in count results --- datafusion/core/src/datasource/memory_test.rs | 10 +++++----- datafusion/datasource/src/sink.rs | 10 +++++----- datafusion/session/src/table.rs | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/datafusion/core/src/datasource/memory_test.rs b/datafusion/core/src/datasource/memory_test.rs index 033a8036f5ec5..79e77f4986a19 100644 --- a/datafusion/core/src/datasource/memory_test.rs +++ b/datafusion/core/src/datasource/memory_test.rs @@ -373,11 +373,11 @@ mod tests { /// Returns the value of results. For example, returns 6 given the following /// /// ```text - /// +-------+, - /// | count |, - /// +-------+, - /// | 6 |, - /// +-------+, + /// +-------+ + /// | count | + /// +-------+ + /// | 6 | + /// +-------+ /// ``` fn extract_count(res: Vec) -> u64 { assert_eq!(res.len(), 1, "expected one batch, got {}", res.len()); diff --git a/datafusion/datasource/src/sink.rs b/datafusion/datasource/src/sink.rs index 1557e41531ab7..6851c9d7f48cb 100644 --- a/datafusion/datasource/src/sink.rs +++ b/datafusion/datasource/src/sink.rs @@ -385,11 +385,11 @@ impl ExecutionPlan for DataSinkExec { /// Create a output record batch with a count /// /// ```text -/// +-------+, -/// | count |, -/// +-------+, -/// | 6 |, -/// +-------+, +/// +-------+ +/// | count | +/// +-------+ +/// | 6 | +/// +-------+ /// ``` fn make_count_batch(count: u64) -> RecordBatch { let array = Arc::new(UInt64Array::from(vec![count])) as ArrayRef; diff --git a/datafusion/session/src/table.rs b/datafusion/session/src/table.rs index cd824938c0039..27470fdfcf800 100644 --- a/datafusion/session/src/table.rs +++ b/datafusion/session/src/table.rs @@ -335,11 +335,11 @@ pub trait TableProvider: Any + Debug + Sync + Send { /// column called "count" such as the following /// /// ```text - /// +-------+, - /// | count |, - /// +-------+, - /// | 6 |, - /// +-------+, + /// +-------+ + /// | count | + /// +-------+ + /// | 6 | + /// +-------+ /// ``` /// /// # See Also