Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenchi <[email protected]>
  • Loading branch information
zhongzc committed Dec 28, 2023
1 parent 55fc1f9 commit 09639a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/common/config/src/wal/kafka.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub struct KafkaConfig {
#[serde(skip)]
#[serde(default)]
pub compression: RsKafkaCompression,
/// The maximum log size a kakfa batch producer could buffer.
/// The maximum log size a kafka batch producer could buffer.
pub max_batch_size: ReadableSize,
/// The linger duration of a kafka batch producer.
#[serde(with = "humantime_serde")]
Expand Down
2 changes: 1 addition & 1 deletion src/mito2/src/sst/index/applier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct SstIndexApplier {
/// Object store responsible for accessing SST files.
object_store: ObjectStore,

/// Predifined index applier used to apply predicates to index files
/// Predefined index applier used to apply predicates to index files
/// and return the relevant row group ids for further scan.
index_applier: Arc<dyn IndexApplier>,
}
Expand Down
6 changes: 3 additions & 3 deletions src/mito2/src/sst/index/applier/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

mod between;

// TODO(zhongzc): This PR is too large. The following modules are comming soon.
// TODO(zhongzc): This PR is too large. The following modules are coming soon.

// mod comparison;
// mod eq_list;
Expand Down Expand Up @@ -99,7 +99,7 @@ impl<'a> SstIndexApplierBuilder<'a> {
match expr {
DfExpr::Between(between) => self.collect_between(between),

// TODO(zhongzc): This PR is too large. The following arms are comming soon.
// TODO(zhongzc): This PR is too large. The following arms are coming soon.

// DfExpr::InList(in_list) => self.collect_inlist(in_list),
// DfExpr::BinaryExpr(BinaryExpr { left, op, right }) => match op {
Expand Down Expand Up @@ -145,7 +145,7 @@ impl<'a> SstIndexApplierBuilder<'a> {
.then(|| column.column_schema.data_type.clone()))
}

/// Helper funtion to get a non-null literal.
/// Helper function to get a non-null literal.
fn nonnull_lit(expr: &DfExpr) -> Option<&ScalarValue> {
match expr {
DfExpr::Literal(lit) if !lit.is_null() => Some(lit),
Expand Down

0 comments on commit 09639a7

Please sign in to comment.