Convert the [`BinaryViewArray`] to [`StringViewArray`] If items not utf8 data, validate will fail and error returned.
(self)
| 1097 | /// Convert the [`BinaryViewArray`] to [`StringViewArray`] |
| 1098 | /// If items not utf8 data, validate will fail and error returned. |
| 1099 | pub fn to_string_view(self) -> Result<StringViewArray, ArrowError> { |
| 1100 | StringViewType::validate(self.views(), self.data_buffers())?; |
| 1101 | unsafe { Ok(self.to_string_view_unchecked()) } |
| 1102 | } |
| 1103 | |
| 1104 | /// Convert the [`BinaryViewArray`] to [`StringViewArray`] |
| 1105 | /// # Safety |
no test coverage detected