vortex-alp 0.65.0

Vortex ALP array
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors

use vortex_array::optimizer::rules::ParentRuleSet;
use vortex_array::scalar_fn::fns::cast::CastReduceAdaptor;
use vortex_array::scalar_fn::fns::mask::MaskReduceAdaptor;

use crate::alp_rd::ALPRD;

pub(crate) static RULES: ParentRuleSet<ALPRD> = ParentRuleSet::new(&[
    ParentRuleSet::lift(&CastReduceAdaptor(ALPRD)),
    ParentRuleSet::lift(&MaskReduceAdaptor(ALPRD)),
]);