(value: ScalarValue)
| 759 | } |
| 760 | |
| 761 | fn str(value: ScalarValue) -> Result<Option<String>> { |
| 762 | match value { |
| 763 | ScalarValue::LargeUtf8(v) => Ok(v), |
| 764 | _ => internal_err!( |
| 765 | "Expected ScalarValue::LargeUtf8, got {}", |
| 766 | value.data_type() |
| 767 | ), |
| 768 | } |
| 769 | } |
| 770 | |
| 771 | fn data<const N: usize>(list: [&str; N]) -> ArrayRef { |
| 772 | Arc::new(LargeStringArray::from(list.to_vec())) |
no outgoing calls
no test coverage detected