Skip to content

Commit 572404d

Browse files
authored
chore: fix typo in comment (#19759)
Signed-off-by: Richard Chien <[email protected]>
1 parent 9292b6f commit 572404d

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.typos.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ mosquitto = "mosquitto" # This is a MQTT broker.
1414
abd = "abd"
1515
iy = "iy"
1616
Pn = "Pn"
17+
barreir = "barrier"
18+
perhapts = "perhaps"
19+
psrser = "parser"
20+
extreact = "extract"
21+
buidler = "builder"
22+
epoches = "epochs"
1723

1824
[default.extend-identifiers]
1925
TABLE_SCHEM = "TABLE_SCHEM"
@@ -40,5 +46,5 @@ extend-exclude = [
4046
# We don't want to fix "Divy" here, but may want in other places.
4147
"integration_tests/deltalake-sink/spark-script/run-sql-file.sh",
4248
# These files are copied from debezium connector, we don't want to fix their typos
43-
"java/connector-node/risingwave-source-cdc/src/main/java/io/debezium/connector/postgresql/*.java"
49+
"java/connector-node/risingwave-source-cdc/src/main/java/io/debezium/connector/postgresql/*.java",
4450
]

src/common/src/catalog/column.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ pub fn debug_assert_column_ids_distinct(columns: &[ColumnCatalog]) {
550550
);
551551
}
552552

553-
/// FIXME: perhapts we should use sth like `ColumnIdGenerator::new_alter`,
553+
/// FIXME: Perhaps we should use sth like `ColumnIdGenerator::new_alter`,
554554
/// However, the `SourceVersion` is problematic: It doesn't contain `next_col_id`.
555555
/// (But for now this isn't a large problem, since drop column is not allowed for source yet..)
556556
///

src/connector/codec/src/decoder/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub trait Access {
7373
/// TODO: the meaning of `path` is a little confusing and maybe over-abstracted.
7474
/// `access` does not need to serve arbitrarily deep `path` access, but just "top-level" access.
7575
/// The API creates an illusion that arbitrary access is supported, but it's not.
76-
/// Perhapts we should separate out another trait like `ToDatum`,
76+
/// Perhaps we should separate out another trait like `ToDatum`,
7777
/// which only does type mapping, without caring about the path. And `path` itself is only an `enum` instead of `&[&str]`.
7878
///
7979
/// What `path` to access is decided by the CDC layer, i.e., the `FORMAT ...` part (`ChangeEvent`).

src/stream/src/executor/backfill/cdc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub use upstream_table::external::ExternalStorageTable;
2424
pub struct CdcScanOptions {
2525
/// Whether to disable backfill
2626
pub disable_backfill: bool,
27-
/// Barreir interval to start a new snapshot read
27+
/// Barrier interval to start a new snapshot read
2828
pub snapshot_interval: u32,
2929
/// Batch size for a snapshot read query
3030
pub snapshot_batch_size: u32,

0 commit comments

Comments
 (0)