We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed840be commit 4737f0aCopy full SHA for 4737f0a
1 file changed
src/execute/mod.rs
@@ -251,10 +251,10 @@ fn detect_geometry_column(schema: &Schema) -> Option<String> {
251
use arrow::datatypes::DataType;
252
253
fn looks_like_geometry(name: &str) -> bool {
254
- match name.to_lowercase().as_str() {
255
- "geom" | "geometry" | "wkb_geometry" | "the_geom" | "shape" => true,
256
- _ => false,
257
- }
+ matches!(
+ name.to_lowercase().as_str(),
+ "geom" | "geometry" | "wkb_geometry" | "the_geom" | "shape"
+ )
258
}
259
260
fn is_geometry_type(dtype: &DataType) -> bool {
0 commit comments