vortex_array/operator/canonical.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4use async_trait::async_trait;
5use vortex_error::VortexResult;
6
7use crate::Canonical;
8use crate::operator::BatchExecution;
9
10pub struct CanonicalExecution(pub Canonical);
11
12#[async_trait]
13impl BatchExecution for CanonicalExecution {
14 async fn execute(self: Box<Self>) -> VortexResult<Canonical> {
15 Ok(self.0)
16 }
17}