(
field1: &str,
strings: &[Option<&str>],
field2: &str,
ints: &[Option<i32>],
)
| 62 | } |
| 63 | |
| 64 | fn struct_array_from_vec( |
| 65 | field1: &str, |
| 66 | strings: &[Option<&str>], |
| 67 | field2: &str, |
| 68 | ints: &[Option<i32>], |
| 69 | ) { |
| 70 | let strings: ArrayRef = Arc::new(StringArray::from(strings.to_owned())); |
| 71 | let ints: ArrayRef = Arc::new(Int32Array::from(ints.to_owned())); |
| 72 | |
| 73 | hint::black_box(StructArray::try_from(vec![(field1, strings), (field2, ints)]).unwrap()); |
| 74 | } |
| 75 | |
| 76 | fn decimal32_array_from_vec(array: &[Option<i32>]) { |
| 77 | hint::black_box( |
no outgoing calls
no test coverage detected