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

vortex-data / vortex / 17008093231

16 Aug 2025 11:54AM UTC coverage: 87.913% (+0.06%) from 87.855%
17008093231

push

github

web-flow
fix(deps): update slf4j monorepo to v2.0.17 (patch) (#4258)

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [org.slf4j:slf4j-api](http://www.slf4j.org)
([source](https://redirect.github.com/qos-ch/slf4j),
[changelog](https://www.slf4j.org/news.html)) | `2.0.9` -> `2.0.17` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.slf4j:slf4j-api/2.0.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.slf4j:slf4j-api/2.0.9/2.0.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [org.slf4j:slf4j-simple](http://www.slf4j.org)
([source](https://redirect.github.com/qos-ch/slf4j),
[changelog](https://www.slf4j.org/news.html)) | `2.0.9` -> `2.0.17` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.slf4j:slf4j-simple/2.0.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.slf4j:slf4j-simple/2.0.9/2.0.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/vortex-data/vortex).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiY2hvcmUiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

56580 of 64359 relevant lines covered (87.91%)

628739.98 hits per line

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

26.67
/vortex-array/src/arrow/record_batch.rs
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3

4
use arrow_array::RecordBatch;
5
use arrow_array::cast::AsArray;
6
use arrow_schema::{DataType, Schema};
7
use vortex_error::{VortexError, VortexResult, vortex_err};
8

9
use crate::arrays::StructArray;
10
use crate::arrow::compute::{to_arrow, to_arrow_preferred};
11
use crate::{Array, ToCanonical};
12

13
impl TryFrom<&dyn Array> for RecordBatch {
14
    type Error = VortexError;
15

16
    fn try_from(value: &dyn Array) -> VortexResult<Self> {
×
17
        let struct_arr = value.to_struct().map_err(|err| {
×
18
            vortex_err!("RecordBatch can only be constructed from a Vortex StructArray: {err}")
×
19
        })?;
×
20

21
        struct_arr.into_record_batch()
×
22
    }
×
23
}
24

25
impl StructArray {
26
    pub fn into_record_batch(self) -> VortexResult<RecordBatch> {
1,629✔
27
        let array_ref = to_arrow_preferred(self.as_ref())?;
1,629✔
28
        Ok(RecordBatch::from(array_ref.as_struct()))
1,629✔
29
    }
1,629✔
30

31
    pub fn into_record_batch_with_schema(self, schema: &Schema) -> VortexResult<RecordBatch> {
×
32
        let data_type = DataType::Struct(schema.fields.clone());
×
33
        let array_ref = to_arrow(self.as_ref(), &data_type)?;
×
34
        Ok(RecordBatch::from(array_ref.as_struct()))
×
35
    }
×
36
}
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