Skip to content

Conversation

@AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Sep 18, 2025

Unfortunately a minor breaking change to the API, but the amount of fields() functions we have is just too much.

@AdamGS AdamGS added the changelog/feature A new feature label Sep 18, 2025
@AdamGS AdamGS requested review from danking, gatesn and joseph-isaacs and removed request for gatesn and joseph-isaacs September 18, 2025 10:04
Comment on lines -55 to -56
.fields()
.fields()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainly to prevent this, I think this is much clearer now.


/// Returns the fields of the struct scalar, or None if the scalar is null.
pub fn fields(&self) -> Option<impl Iterator<Item = Scalar>> {
pub fn fields(&self) -> Option<impl ExactSizeIterator<Item = Scalar>> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just had this and figured its not worth its own PR

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS force-pushed the adamg/rename-some-functions-exprs branch from bf0db38 to e5c7063 Compare September 18, 2025 10:05
@codecov
Copy link

codecov bot commented Sep 18, 2025

Codecov Report

❌ Patch coverage is 90.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.90%. Comparing base (ab0c6f2) to head (3b3d47a).
⚠️ Report is 17 commits behind head on develop.

Files with missing lines Patch % Lines
vortex-expr/src/exprs/select.rs 95.55% 2 Missing ⚠️
vortex-expr/src/traversal/references.rs 0.00% 2 Missing ⚠️
vortex-expr/src/transform/remove_select.rs 50.00% 1 Missing ⚠️

☔ 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.

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS merged commit 75b99c1 into develop Sep 19, 2025
38 checks passed
@AdamGS AdamGS deleted the adamg/rename-some-functions-exprs branch September 19, 2025 21:58
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.

3 participants