Skip to content

Feature: Add DType::FixedSizeList variant - #4371

Merged
connortsui20 merged 1 commit into
developfrom
connor/dtype-fixed-size-list
Aug 26, 2025
Merged

connortsui20 merged 1 commit into
developfrom
connor/dtype-fixed-size-list

Conversation

@connortsui20

@connortsui20 connortsui20 commented Aug 26, 2025 •

Copy link
Copy Markdown
Member

Tracking Issue: #4372

Adds the variant DType::FixedSizeList, but without most of the implementations. The unimplemented!s and TODO(connor)[FixedSizeList] will be fixed in later PRs.

Also fixes a bug and incorrect tests with list_empty in vortex-scalar, where creating an empty list made a null scalar.

Finally, adds some more casting tests in vortex-scalar (which found a bug in vortex-scalar/src/scalar.rs where the logic did not work for nested scalars).

(Tracking Issue incoming soon)

@connortsui20 connortsui20 added the changelog/feature A new feature label Aug 26, 2025
@connortsui20 connortsui20 changed the title Add DType::FixedSizeList variant Feature: Add DType::FixedSizeList variant Aug 26, 2025
@codecov

codecov Bot commented Aug 26, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.85328% with 47 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.11%. Comparing base (c6f7f00) to head (3d79f9a).
⚠️ Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
vortex-dtype/src/dtype.rs 54.83% 14 Missing ⚠️
vortex-dtype/src/arrow.rs 23.07% 10 Missing ⚠️
vortex-scalar/src/scalar.rs 25.00% 6 Missing ⚠️
vortex-datafusion/src/convert/scalars.rs 0.00% 3 Missing ⚠️
vortex-array/src/builders/mod.rs 0.00% 2 Missing ⚠️
vortex-dtype/src/serde/flatbuffers/mod.rs 0.00% 2 Missing ⚠️
encodings/sparse/src/canonical.rs 0.00% 1 Missing ⚠️
vortex-array/src/arrays/constant/canonical.rs 0.00% 1 Missing ⚠️
vortex-array/src/compute/conformance/cast.rs 0.00% 1 Missing ⚠️
...ortex-array/src/compute/conformance/consistency.rs 0.00% 1 Missing ⚠️
... and 6 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Adds the variant `DType::FixedSizeList`, but without most of the
implementations. The `unimplemented!`s and `TODO(connor)[FixedSizeList]`
will be fixed in later PRs.

Signed-off-by: Connor Tsui <[email protected]>
@connortsui20
connortsui20 force-pushed the connor/dtype-fixed-size-list branch from 4e9ebcd to 3d79f9a Compare August 26, 2025 10:39
@connortsui20
connortsui20 merged commit 87aa18b into develop Aug 26, 2025
@connortsui20
connortsui20 deleted the connor/dtype-fixed-size-list branch August 26, 2025 11:15
@connortsui20 connortsui20 mentioned this pull request Aug 26, 2025
13 of 15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants