• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vortex-data / vortex / 16935267080

13 Aug 2025 11:00AM UTC coverage: 24.312% (-63.3%) from 87.658%
16935267080

Pull #4226

github

web-flow
Merge 81b48c7fb into baa6ea202
Pull Request #4226: Support converting TimestampTZ to and from duckdb

0 of 2 new or added lines in 1 file covered. (0.0%)

20666 existing lines in 469 files now uncovered.

8726 of 35892 relevant lines covered (24.31%)

147.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/vortex-array/src/vtable/compute.rs
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3

4
use vortex_error::VortexResult;
5

6
use crate::compute::{ComputeFn, InvocationArgs, Output};
7
use crate::vtable::{NotSupported, VTable};
8

9
pub trait ComputeVTable<V: VTable> {
10
    /// Dynamically invokes the given compute function on the array.
11
    ///
12
    /// Returns `None` if the compute function is not supported by this array, otherwise attempts
13
    /// to invoke the function.
14
    ///
15
    /// This can be useful to support compute functions based on some property of the function,
16
    /// without knowing at compile-time what that function is. For example, any elementwise
17
    /// function can be pushed-down over a dictionary array and evaluated only on the unique values.
18
    fn invoke(
19
        array: &V::Array,
20
        compute_fn: &ComputeFn,
21
        args: &InvocationArgs,
22
    ) -> VortexResult<Option<Output>>;
23
}
24

25
impl<V: VTable> ComputeVTable<V> for NotSupported {
UNCOV
26
    fn invoke(
×
UNCOV
27
        _array: &V::Array,
×
UNCOV
28
        _compute_fn: &ComputeFn,
×
UNCOV
29
        _args: &InvocationArgs,
×
UNCOV
30
    ) -> VortexResult<Option<Output>> {
×
UNCOV
31
        Ok(None)
×
UNCOV
32
    }
×
33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc