Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spatialbench-arrow/src/conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ where
.unwrap()
}

/// Coverts an iterator of displayable values to an Arrow StringViewArray
/// Converts an iterator of displayable values to an Arrow StringViewArray
///
/// This results in an extra copy of the data, which could be avoided for some types
pub fn string_view_array_from_display_iter<I>(values: I) -> StringViewArray
Expand Down
2 changes: 1 addition & 1 deletion spatialbench-cli/src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ mod tests {
.with_table(Table::Customer)
.with_format(OutputFormat::Tbl)
.with_scale_factor(1.0)
// Generate only part 1 of the trip table, but results in 10 partititions
// Generate only part 1 of the trip table, but results in 10 partitions
.with_cli_part(1)
.with_cli_part_count(10)
.assert(10, 1..=1)
Expand Down
2 changes: 1 addition & 1 deletion spatialbench-cli/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ macro_rules! define_run {
.map(<$PARQUET_SOURCE>::new)
}

// Dispach to the appropriate output format
// Dispatch to the appropriate output format
match plan.output_format() {
OutputFormat::Tbl => {
let gens = tbl_sources(plan.generation_plan(), scale_factor);
Expand Down
2 changes: 1 addition & 1 deletion spatialbench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ license = { workspace = true }
keywords = ["spatial", "geospatial", "benchmark", "data-generation", "sql"]
categories = ["science::geo", "database", "data-structures", "development-tools"]

# Designed to have no depdencies to make it easy to embed in other projects
# Designed to have no dependencies to make it easy to embed in other projects
# See ../ARCHITECTURE.md for more details
[dependencies]
rand = { version = "0.8", features = ["small_rng"] }
Expand Down
4 changes: 2 additions & 2 deletions spatialbench/src/dists.dss
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ end p_names
###
# nations
# NOTE: this is a special case; the weights here are adjustments to
# map correctly into the regions table, and are *NOT* cummulative
# map correctly into the regions table, and are *NOT* cumulative
# values to mimic a distribution
###
begin nations
Expand Down Expand Up @@ -798,7 +798,7 @@ END adjectives
###
# grammar
# first level grammar. N=noun phrase, V=verb phrase,
# P=prepositional phrase, T=setence termination
# P=prepositional phrase, T=sentence termination
##
BEGIN grammar
COUNT|5
Expand Down
2 changes: 1 addition & 1 deletion spatialbench/src/generators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ impl TripGeneratorIterator {

let mut dropoff_y = pickuploc.y() + distance_value * angle.sin();

// Hard code coordinate precision to 8 decimal places - milimeter level precision for WGS 84
// Hard code coordinate precision to 8 decimal places - millimeter level precision for WGS 84
dropoff_x = (dropoff_x * 100_000_000.0).round() / 100_000_000.0;
dropoff_y = (dropoff_y * 100_000_000.0).round() / 100_000_000.0;

Expand Down
2 changes: 1 addition & 1 deletion spatialbench/src/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl RowRandomInt {
self.usage = 0;
}

/// Advance the specified number of rows which is required for partitionned datasets.
/// Advance the specified number of rows which is required for partitioned datasets.
pub fn advance_rows(&mut self, row_count: i64) {
// Signals the we consumed all the seeds for the current row.
if self.usage != 0 {
Expand Down