docs: Fix some typos in comments as I noticed them

pull/24376/head
Carol (Nichols || Goulding) 2022-03-25 14:06:22 -04:00
parent d37af1a7f5
commit 9043966443
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
3 changed files with 7 additions and 7 deletions

View File

@ -301,7 +301,7 @@ mod tests {
seq_num_end,
3,
INITIAL_COMPACTION_LEVEL,
None, // todo: this will have value when #3968 is done
None, // todo: this will have value when #3968 is done
);
assert_eq!(expected_meta, meta);
}

View File

@ -1153,8 +1153,8 @@ impl DataBuffer {
}
}
/// BufferBatch is a MutauableBatch with its ingesting order, sequencer_number, that
/// helps the ingester keep the batches of data in thier ingesting order
/// BufferBatch is a MutableBatch with its ingesting order, sequencer_number, that helps the
/// ingester keep the batches of data in their ingesting order
#[derive(Debug)]
pub struct BufferBatch {
/// Sequence number of the first write in this batch
@ -1172,7 +1172,7 @@ pub struct SnapshotBatch {
pub(crate) min_sequencer_number: SequenceNumber,
/// Max sequencer number of its combined BufferBatches
pub(crate) max_sequencer_number: SequenceNumber,
/// Data of its comebined BufferBatches kept in one RecordBatch
/// Data of its combined BufferBatches kept in one RecordBatch
pub(crate) data: Arc<RecordBatch>,
}
@ -1209,13 +1209,13 @@ impl SnapshotBatch {
/// a parquet file for given set of SnapshotBatches
#[derive(Debug, PartialEq, Clone)]
pub struct PersistingBatch {
/// Sesquencer id of the data
/// Sequencer id of the data
pub(crate) sequencer_id: SequencerId,
/// Table id of the data
pub(crate) table_id: TableId,
/// Parittion Id of the data
/// Partition Id of the data
pub(crate) partition_id: PartitionId,
/// Id of to-be-created parquet file of this data

View File

@ -270,7 +270,7 @@ pub fn chunks_have_stats(chunks: &[Arc<dyn QueryChunk>]) -> bool {
pub fn compute_sort_key_for_chunks(schema: &Schema, chunks: &[Arc<dyn QueryChunk>]) -> SortKey {
if !chunks_have_stats(chunks) {
// chunks have not enough stats, return its pk that is
// chunks have not enough stats, return its pk that is
// sorted lexicographically but time column always last
SortKey::from_columns(schema.primary_key())
} else {