docs: Fix some typos
parent
a4a79bc640
commit
9a27736c65
|
@ -277,7 +277,7 @@ fn make_round_info_source(config: &Config) -> Arc<dyn RoundInfoSource> {
|
||||||
)))
|
)))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Conditions to compact this partittion
|
// Conditions to compact this partition
|
||||||
fn make_partition_filter(config: &Config) -> Arc<dyn PartitionFilter> {
|
fn make_partition_filter(config: &Config) -> Arc<dyn PartitionFilter> {
|
||||||
let mut partition_filters: Vec<Arc<dyn PartitionFilter>> = Vec::with_capacity(8);
|
let mut partition_filters: Vec<Arc<dyn PartitionFilter>> = Vec::with_capacity(8);
|
||||||
partition_filters.push(Arc::new(HasFilesPartitionFilter::new()));
|
partition_filters.push(Arc::new(HasFilesPartitionFilter::new()));
|
||||||
|
|
|
@ -507,7 +507,7 @@ pub(crate) fn make_partitions(
|
||||||
ns_id: NamespaceId,
|
ns_id: NamespaceId,
|
||||||
) -> Vec<DmlOperation> {
|
) -> Vec<DmlOperation> {
|
||||||
// In-memory data includes these rows but split between 4 groups go into
|
// 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![
|
// let expected = vec![
|
||||||
// "+------------+-----+------+--------------------------------+",
|
// "+------------+-----+------+--------------------------------+",
|
||||||
// "| city | day | temp | time |",
|
// "| city | day | temp | time |",
|
||||||
|
@ -623,7 +623,7 @@ fn make_first_partition_data(
|
||||||
ns_id: NamespaceId,
|
ns_id: NamespaceId,
|
||||||
) -> (Vec<DmlOperation>, SequenceNumber) {
|
) -> (Vec<DmlOperation>, SequenceNumber) {
|
||||||
// In-memory data includes these rows but split between 3 groups go into
|
// 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![
|
// let expected = vec![
|
||||||
// "+------------+-----+------+--------------------------------+",
|
// "+------------+-----+------+--------------------------------+",
|
||||||
// "| city | day | temp | time |",
|
// "| city | day | temp | time |",
|
||||||
|
|
|
@ -274,7 +274,7 @@ pub struct IoxMetadata {
|
||||||
/// partition id of the data
|
/// partition id of the data
|
||||||
pub partition_id: PartitionId,
|
pub partition_id: PartitionId,
|
||||||
|
|
||||||
/// parittion key of the data
|
/// partition key of the data
|
||||||
pub partition_key: PartitionKey,
|
pub partition_key: PartitionKey,
|
||||||
|
|
||||||
/// sequence number of the last write
|
/// sequence number of the last write
|
||||||
|
|
Loading…
Reference in New Issue