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 parquet-geospatial/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repository = { workspace = true }
authors = { workspace = true }
keywords = ["arrow", "parquet", "geometry", "geography"]
readme = "README.md"
edition = { workspace = true }
edition = "2024"
rust-version = { workspace = true }

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions parquet-geospatial/src/bounding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ fn visit_intervals(
_ => {
return Err(ArrowError::InvalidArgumentError(
"GeometryType not supported for dimension bounds".to_string(),
))
));
}
}

Expand Down Expand Up @@ -302,7 +302,7 @@ fn geometry_type(geom: &impl GeometryTrait<T = f64>) -> Result<i32, ArrowError>
Dimensions::Unknown(_) => {
return Err(ArrowError::InvalidArgumentError(
"Unsupported dimensions".to_string(),
))
));
}
};

Expand All @@ -317,7 +317,7 @@ fn geometry_type(geom: &impl GeometryTrait<T = f64>) -> Result<i32, ArrowError>
_ => {
return Err(ArrowError::InvalidArgumentError(
"GeometryType not supported for dimension bounds".to_string(),
))
));
}
};

Expand Down
7 changes: 4 additions & 3 deletions parquet-geospatial/src/interval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,9 @@ mod test {

// Can't convert a wraparound interval that actually wraps around to an Interval
let err = Interval::try_from(wraparound).unwrap_err();
assert!(err
.to_string()
.contains("Can't convert wraparound interval"));
assert!(
err.to_string()
.contains("Can't convert wraparound interval")
);
}
}
Loading