• 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/decode.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::Canonical;
7
use crate::builders::ArrayBuilder;
8
use crate::vtable::VTable;
9

10
// TODO(ngates): rename to `DecodeVTable`.
11
pub trait CanonicalVTable<V: VTable> {
12
    /// Returns the canonical representation of the array.
13
    ///
14
    /// ## Post-conditions
15
    /// - The length is equal to that of the input array.
16
    /// - The [`vortex_dtype::DType`] is equal to that of the input array.
17
    // TODO(ngates): rename to `decode`
18
    fn canonicalize(array: &V::Array) -> VortexResult<Canonical>;
19

20
    /// Writes the array into a canonical builder.
21
    ///
22
    /// ## Post-conditions
23
    /// - The length of the builder is incremented by the length of the input array.
UNCOV
24
    fn append_to_builder(array: &V::Array, builder: &mut dyn ArrayBuilder) -> VortexResult<()> {
×
UNCOV
25
        let canonical = Self::canonicalize(array)?;
×
UNCOV
26
        builder.extend_from_array(canonical.as_ref())
×
UNCOV
27
    }
×
28
}
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