From 9a27736c65d4b9821476ee55a3f9a7c205b0e27d Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Fri, 31 Mar 2023 12:44:12 -0400 Subject: [PATCH] docs: Fix some typos --- compactor2/src/components/hardcoded.rs | 2 +- ingester/src/test_util.rs | 4 ++-- parquet_file/src/metadata.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compactor2/src/components/hardcoded.rs b/compactor2/src/components/hardcoded.rs index 16a8acdc9c..a869979155 100644 --- a/compactor2/src/components/hardcoded.rs +++ b/compactor2/src/components/hardcoded.rs @@ -277,7 +277,7 @@ fn make_round_info_source(config: &Config) -> Arc { ))) } -// Conditions to compact this partittion +// Conditions to compact this partition fn make_partition_filter(config: &Config) -> Arc { let mut partition_filters: Vec> = Vec::with_capacity(8); partition_filters.push(Arc::new(HasFilesPartitionFilter::new())); diff --git a/ingester/src/test_util.rs b/ingester/src/test_util.rs index a952c4afcb..7c89185d1b 100644 --- a/ingester/src/test_util.rs +++ b/ingester/src/test_util.rs @@ -507,7 +507,7 @@ pub(crate) fn make_partitions( ns_id: NamespaceId, ) -> Vec { // In-memory data includes these rows but split between 4 groups go into - // different batches of parittion 1 or partittion 2 as requeted + // different batches of partition 1 or partition 2 as requeted // let expected = vec![ // "+------------+-----+------+--------------------------------+", // "| city | day | temp | time |", @@ -623,7 +623,7 @@ fn make_first_partition_data( ns_id: NamespaceId, ) -> (Vec, SequenceNumber) { // In-memory data includes these rows but split between 3 groups go into - // different batches of parittion p1 + // different batches of partition p1 // let expected = vec![ // "+------------+-----+------+--------------------------------+", // "| city | day | temp | time |", diff --git a/parquet_file/src/metadata.rs b/parquet_file/src/metadata.rs index 0a72b8715d..e59c31490b 100644 --- a/parquet_file/src/metadata.rs +++ b/parquet_file/src/metadata.rs @@ -274,7 +274,7 @@ pub struct IoxMetadata { /// partition id of the data pub partition_id: PartitionId, - /// parittion key of the data + /// partition key of the data pub partition_key: PartitionKey, /// sequence number of the last write