diff --git a/cpp/src/arrow/compute/exec.cc b/cpp/src/arrow/compute/exec.cc index 1be398fdae9e..411ff0bb0263 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 04b39e6c1985..ecccc26efda6 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> MakeLogger(