This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git
The following commit(s) were added to refs/heads/main by this push:
new a48d3ee misc: fix typos (#78)
a48d3ee is described below
commit a48d3ee6bc94a591567f0117965e059e96c0ede1
Author: John Bampton <[email protected]>
AuthorDate: Fri Jan 23 07:36:13 2026 +1000
misc: fix typos (#78)
General spelling clean up
---
spatialbench-arrow/src/conversions.rs | 2 +-
spatialbench-cli/src/plan.rs | 2 +-
spatialbench-cli/src/runner.rs | 2 +-
spatialbench/Cargo.toml | 2 +-
spatialbench/src/dists.dss | 4 ++--
spatialbench/src/generators.rs | 2 +-
spatialbench/src/random.rs | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/spatialbench-arrow/src/conversions.rs
b/spatialbench-arrow/src/conversions.rs
index 5826bda..5569d74 100644
--- a/spatialbench-arrow/src/conversions.rs
+++ b/spatialbench-arrow/src/conversions.rs
@@ -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
diff --git a/spatialbench-cli/src/plan.rs b/spatialbench-cli/src/plan.rs
index ed680b1..0235439 100644
--- a/spatialbench-cli/src/plan.rs
+++ b/spatialbench-cli/src/plan.rs
@@ -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)
diff --git a/spatialbench-cli/src/runner.rs b/spatialbench-cli/src/runner.rs
index a337490..5d8a8ac 100644
--- a/spatialbench-cli/src/runner.rs
+++ b/spatialbench-cli/src/runner.rs
@@ -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);
diff --git a/spatialbench/Cargo.toml b/spatialbench/Cargo.toml
index 304f7ea..0d7c9b7 100644
--- a/spatialbench/Cargo.toml
+++ b/spatialbench/Cargo.toml
@@ -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"] }
diff --git a/spatialbench/src/dists.dss b/spatialbench/src/dists.dss
index 1299c15..2005981 100644
--- a/spatialbench/src/dists.dss
+++ b/spatialbench/src/dists.dss
@@ -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
@@ -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
diff --git a/spatialbench/src/generators.rs b/spatialbench/src/generators.rs
index 073e525..1c596bc 100644
--- a/spatialbench/src/generators.rs
+++ b/spatialbench/src/generators.rs
@@ -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;
diff --git a/spatialbench/src/random.rs b/spatialbench/src/random.rs
index 9932ddc..04ee418 100644
--- a/spatialbench/src/random.rs
+++ b/spatialbench/src/random.rs
@@ -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 {