Skip to content

Commit f208e62

Browse files
authored
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]>
1 parent 43727a2 commit f208e62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/src/arrow/compute/exec.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ bool ExecSpanIterator::Next(ExecSpan* span) {
410410
// The first time this is called, we populate the output span with any
411411
// Scalar or Array arguments in the ExecValue struct, and then just
412412
// increment array offsets below. If any arguments are ChunkedArray, then
413-
// the internal ArraySpans will see their members updated during hte
413+
// the internal ArraySpans will see their members updated during the
414414
// iteration
415415
span->values.resize(args_->size());
416416
for (size_t i = 0; i < args_->size(); ++i) {

cpp/src/arrow/telemetry/logging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ARROW_EXPORT OtelLogger : public util::Logger {
6060
class ARROW_EXPORT OtelLoggerProvider {
6161
public:
6262
/// \brief Attempt to flush the log record processor associated with the provider
63-
/// \return `true` if the flush occured
63+
/// \return `true` if the flush occurred
6464
static bool Flush(std::chrono::microseconds timeout = std::chrono::microseconds::max());
6565

6666
static Result<std::shared_ptr<OtelLogger>> MakeLogger(

0 commit comments

Comments
 (0)