Skip to content

Commit 71d4931

Browse files
authored
MINOR: Fix Typos in Documentation for Grouped Aggregations and Cache Locality (#46793)
**Description:** This pull request corrects minor typos in the documentation files: - In `docs/source/cpp/compute.rst`, the word "invokable" is now spelled correctly. - In `docs/source/developers/cpp/acero.rst`, the word "initially" is now spelled correctly. These changes improve the clarity and professionalism of the documentation without affecting any code functionality. Authored-by: kilavvy <[email protected]> Signed-off-by: Nic Crane <[email protected]>
1 parent be0967a commit 71d4931

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/cpp/compute.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ the input to a single output value.
315315
Grouped Aggregations ("group by")
316316
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
317317

318-
Grouped aggregations are not directly invokable, but are used as part of a
318+
Grouped aggregations are not directly invocable, but are used as part of a
319319
SQL-style "group by" operation. Like scalar aggregations, grouped aggregations
320320
reduce multiple input values to a single output value. Instead of aggregating
321321
all values of the input, however, grouped aggregations partition the input

docs/source/developers/cpp/acero.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ this leads to problems with cache locality. For example, let's assume we have a
328328
exec nodes, scan, project, and then filter (this is a very common use case). Now let's assume there are 100 batches.
329329
In a task-per-operator model we would have tasks like "Scan Batch 5", "Project Batch 5", and "Filter Batch 5". Each
330330
of those tasks is potentially going to access the same data. For example, maybe the ``project`` and ``filter`` nodes need
331-
to read the same column. A column which is intially created in a decode phase of the ``scan`` node. To maximize cache
331+
to read the same column. A column which is initially created in a decode phase of the ``scan`` node. To maximize cache
332332
utilization we would need to carefully schedule our tasks to ensure that all three of those tasks are run consecutively
333333
and assigned to the same CPU core.
334334

0 commit comments

Comments
 (0)