(
list: impl Array + Clone + 'static,
)
| 233 | use datafusion_expr::lit; |
| 234 | |
| 235 | fn divide_100_by( |
| 236 | list: impl Array + Clone + 'static, |
| 237 | ) -> datafusion_common::Result<arrow::array::ArrayRef> { |
| 238 | eval_hof_on_i32_list( |
| 239 | array_transform_higher_order_function(), |
| 240 | list, |
| 241 | lit(100i32) / v(), |
| 242 | ) |
| 243 | } |
| 244 | |
| 245 | #[test] |
| 246 | fn transform_on_sliced_list_should_not_evaluate_on_unreachable_values() { |
searching dependent graphs…