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

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new f208e62541 MINOR: [C++] Fix typos in telemetry and compute comments 
(#48562)
f208e62541 is described below

commit f208e62541c5c1717cc34742fb1fe0176d3e2ddd
Author: tennisleng <[email protected]>
AuthorDate: Fri Dec 19 06:52:45 2025 -0500

    MINOR: [C++] Fix typos in telemetry and compute comments (#48562)
    
    ## Description
    
    Fix two typos in C++ documentation comments:
    - `cpp/src/arrow/telemetry/logging.h`: "occured" → "occurred"
    - `cpp/src/arrow/compute/exec.cc`: "hte" → "the"
    
    ## Type of change
    
    - [ ] Bug fix
    - [ ] New feature
    - [x] Documentation / Minor (typo fix)
    
    ## Checklist
    
    - [x] My code follows the code style of this project
    - [x] I have updated the documentation accordingly (N/A - comment only)
    - [x] I have added tests to cover my changes (N/A - comment only)
    
    Authored-by: Andrew Leng <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 cpp/src/arrow/compute/exec.cc     | 2 +-
 cpp/src/arrow/telemetry/logging.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/src/arrow/compute/exec.cc b/cpp/src/arrow/compute/exec.cc
index 1be398fdae..411ff0bb02 100644
--- a/cpp/src/arrow/compute/exec.cc
+++ b/cpp/src/arrow/compute/exec.cc
@@ -410,7 +410,7 @@ bool ExecSpanIterator::Next(ExecSpan* span) {
     // The first time this is called, we populate the output span with any
     // Scalar or Array arguments in the ExecValue struct, and then just
     // increment array offsets below. If any arguments are ChunkedArray, then
-    // the internal ArraySpans will see their members updated during hte
+    // the internal ArraySpans will see their members updated during the
     // iteration
     span->values.resize(args_->size());
     for (size_t i = 0; i < args_->size(); ++i) {
diff --git a/cpp/src/arrow/telemetry/logging.h 
b/cpp/src/arrow/telemetry/logging.h
index 04b39e6c19..ecccc26efd 100644
--- a/cpp/src/arrow/telemetry/logging.h
+++ b/cpp/src/arrow/telemetry/logging.h
@@ -60,7 +60,7 @@ class ARROW_EXPORT OtelLogger : public util::Logger {
 class ARROW_EXPORT OtelLoggerProvider {
  public:
   /// \brief Attempt to flush the log record processor associated with the 
provider
-  /// \return `true` if the flush occured
+  /// \return `true` if the flush occurred
   static bool Flush(std::chrono::microseconds timeout = 
std::chrono::microseconds::max());
 
   static Result<std::shared_ptr<OtelLogger>> MakeLogger(

Reply via email to