Call `self.map.into_array()` validating that the strings are in the same order as they were inserted
(self)
| 787 | /// Call `self.map.into_array()` validating that the strings are in the same |
| 788 | /// order as they were inserted |
| 789 | fn into_array(self) -> ArrayRef { |
| 790 | let Self { |
| 791 | map, |
| 792 | strings, |
| 793 | indexes: _, |
| 794 | } = self; |
| 795 | |
| 796 | let arr = map.into_state(); |
| 797 | let expected: ArrayRef = Arc::new(StringViewArray::from(strings)); |
| 798 | assert_eq!(&arr, &expected); |
| 799 | arr |
| 800 | } |
| 801 | } |
| 802 | |
| 803 | #[test] |
nothing calls this directly
no test coverage detected