vortex_array/arrays/struct_/compute/min_max.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4use vortex_error::VortexResult;
5
6use crate::arrays::Struct;
7use crate::arrays::StructArray;
8use crate::compute::MinMaxKernel;
9use crate::compute::MinMaxKernelAdapter;
10use crate::compute::MinMaxResult;
11use crate::register_kernel;
12
13impl MinMaxKernel for Struct {
14 fn min_max(&self, _array: &StructArray) -> VortexResult<Option<MinMaxResult>> {
15 // TODO(joe): Implement struct min max
16 Ok(None)
17 }
18}
19
20register_kernel!(MinMaxKernelAdapter(Struct).lift());