Skip to content

Commit 18983c7

Browse files
committed
fix typos
1 parent 8134df7 commit 18983c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/hashtable/src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ pub mod sse {
214214
// potentially leading to the target table being unsuitable for use as a build table in the future.
215215
// 2. Requires a significant amount of memory to be efficient and currently does not support spill operations.
216216
// for now we just support sql like below:
217-
// `merge into t using source on xxx when matched then update xxx when not macthed then insert xxx.
217+
// `merge into t using source on xxx when matched then update xxx when not matched then insert xxx.
218218
// for merge into:
219219
// we use MergeIntoBlockInfoIndex to maintain an index for the block info in chunks.
220220

@@ -331,7 +331,7 @@ impl MergeIntoBlockInfoIndex {
331331
let left = self.search_idx(start as u32);
332332
let right = self.search_idx((end - 1) as u32);
333333
if left == right {
334-
// macthed only one block.
334+
// matched only one block.
335335
if self.intervals[left].0 == (start as u32)
336336
&& self.intervals[right].1 == (end - 1) as u32
337337
{

0 commit comments

Comments
 (0)