diff --git a/src/array/geometrycollection/array.rs b/src/array/geometrycollection/array.rs index 1a53216c..2789bace 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 arrow::array::PrimitiveArray; + /// use arrow2::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 9e013235..b3bd13e2 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("geometry", self.storage_type(), true).with_metadata(field_metadata)) + Arc::new(Field::new("", 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 arrow::array::PrimitiveArray; + /// use arrow2::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 5301b064..81d860d6 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 arrow::array::PrimitiveArray; + /// use arrow2::array::PrimitiveArray; /// /// let array = PrimitiveArray::from_vec(vec![1, 2, 3]); /// assert_eq!(format!("{:?}", array), "Int32[1, 2, 3]");