diff --git a/.gitignore b/.gitignore index de2107bb..80d1df35 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.DS_Store +.idea # Generated by Cargo # will have compiled files and executables diff --git a/src/array/geometrycollection/array.rs b/src/array/geometrycollection/array.rs index 2789bace..1a53216c 100644 --- a/src/array/geometrycollection/array.rs +++ b/src/array/geometrycollection/array.rs @@ -125,7 +125,7 @@ impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for GeometryCollectionArray< /// This operation is `O(1)` as it amounts to increase two ref counts. /// # Examples /// ``` - /// use arrow2::array::PrimitiveArray; + /// use arrow::array::PrimitiveArray; /// /// let array = PrimitiveArray::from_vec(vec![1, 2, 3]); /// assert_eq!(format!("{:?}", array), "Int32[1, 2, 3]"); diff --git a/src/array/linestring/array.rs b/src/array/linestring/array.rs index b3bd13e2..9e013235 100644 --- a/src/array/linestring/array.rs +++ b/src/array/linestring/array.rs @@ -130,7 +130,7 @@ impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for LineStringArray { "ARROW:extension:name".to_string(), "geoarrow.linestring".to_string(), ); - Arc::new(Field::new("", self.storage_type(), true).with_metadata(field_metadata)) + Arc::new(Field::new("geometry", self.storage_type(), true).with_metadata(field_metadata)) } fn into_arrow(self) -> Self::ArrowArray { @@ -180,7 +180,7 @@ impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for LineStringArray { /// This operation is `O(1)` as it amounts to increase two ref counts. /// # Examples /// ``` - /// use arrow2::array::PrimitiveArray; + /// use arrow::array::PrimitiveArray; /// /// let array = PrimitiveArray::from_vec(vec![1, 2, 3]); /// assert_eq!(format!("{:?}", array), "Int32[1, 2, 3]"); diff --git a/src/array/multipoint/array.rs b/src/array/multipoint/array.rs index 81d860d6..5301b064 100644 --- a/src/array/multipoint/array.rs +++ b/src/array/multipoint/array.rs @@ -178,7 +178,7 @@ impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for MultiPointArray { /// This operation is `O(1)` as it amounts to increase two ref counts. /// # Examples /// ``` - /// use arrow2::array::PrimitiveArray; + /// use arrow::array::PrimitiveArray; /// /// let array = PrimitiveArray::from_vec(vec![1, 2, 3]); /// assert_eq!(format!("{:?}", array), "Int32[1, 2, 3]");