Skip to content

Commit 2d1eb4c

Browse files
otjdiepluongsvenklemm
authored andcommitted
Fix duplicated words in columnar_scan/planner, gorilla, and recompress comments
Signed-off-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com>
1 parent 11b0fd1 commit 2d1eb4c

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

.unreleased/pr_9814

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Thanks: @otjdiepluong for fixing spelling mistakes in timescaledb source code comments
2+

tsl/src/compression/algorithms/gorilla.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ gorilla_compressor_append_value(GorillaCompressor *compressor, uint64 val)
384384
{
385385
/* leftmost/rightmost 1 is not well-defined when all the bits in the number
386386
* are 0; the C implementations of these functions will ERROR, while the
387-
* assembly versions may return any value. We special-case 0 to to use
387+
* assembly versions may return any value. We special-case 0 to use
388388
* values for leading and trailing-zeroes that we know will work.
389389
*/
390390
int leading_zeros = xor != 0 ? 63 - pg_leftmost_one_pos64(xor) : 63;

tsl/src/compression/recompress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ recompress_chunk_segmentwise_impl(Chunk *uncompressed_chunk,
617617
break;
618618
}
619619

620-
/* Reset index scan if we are done with with this segment */
620+
/* Reset index scan if we are done with this segment */
621621
if (done_with_segment)
622622
{
623623
continue;

tsl/src/nodes/columnar_scan/planner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ columnar_scan_plan_create(PlannerInfo *root, RelOptInfo *rel, CustomPath *path,
13661366
}
13671367

13681368
/*
1369-
* If the the compressed target list is not based on the layout of
1369+
* If the compressed target list is not based on the layout of
13701370
* the uncompressed chunk (see comment for physical_tlist above),
13711371
* adjust the position of the attribute.
13721372
*/

0 commit comments

Comments
 (0)