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

vortex-data / vortex / 16728097825

04 Aug 2025 04:00PM UTC coverage: 48.355% (-35.1%) from 83.429%
16728097825

Pull #4108

github

web-flow
Merge 1b2d27fd8 into 649ba9576
Pull Request #4108: perf[vortex-array]: use all_valid instead of `invalid_count() == 0`

1 of 1 new or added line in 1 file covered. (100.0%)

11596 existing lines in 378 files now uncovered.

18635 of 38538 relevant lines covered (48.35%)

151786.4 hits per line

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

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

4
use vortex_error::VortexResult;
5
use vortex_mask::Mask;
6

7
use crate::arrays::{StructArray, StructVTable};
8
use crate::compute::{MaskKernel, MaskKernelAdapter};
9
use crate::vtable::ValidityHelper;
10
use crate::{ArrayRef, IntoArray, register_kernel};
11

12
impl MaskKernel for StructVTable {
UNCOV
13
    fn mask(&self, array: &StructArray, filter_mask: &Mask) -> VortexResult<ArrayRef> {
×
UNCOV
14
        let validity = array.validity().mask(filter_mask)?;
×
15

UNCOV
16
        StructArray::try_new_with_dtype(
×
UNCOV
17
            array.fields().to_vec(),
×
UNCOV
18
            array.struct_fields().clone(),
×
UNCOV
19
            array.len(),
×
UNCOV
20
            validity,
×
21
        )
UNCOV
22
        .map(|a| a.into_array())
×
UNCOV
23
    }
×
24
}
25
register_kernel!(MaskKernelAdapter(StructVTable).lift());
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