Skip to content

fix: improve error messages in FixedSizeListArrayExt::convert_to_floating_point#5836

Merged
wjones127 merged 3 commits intolance-format:mainfrom
LuciferYang:fix-convert_to_floating_point-error-msg
Feb 23, 2026
Merged

fix: improve error messages in FixedSizeListArrayExt::convert_to_floating_point#5836
wjones127 merged 3 commits intolance-format:mainfrom
LuciferYang:fix-convert_to_floating_point-error-msg

Conversation

@LuciferYang
Copy link
Copy Markdown
Contributor

@LuciferYang LuciferYang commented Jan 28, 2026

What

fix error messages in the convert_to_floating_point method of the FixedSizeListArrayExt trait.

Why

Error messages previously always showed "Int8Type" regardless of the actual type being cast, which was misleading and made debugging difficult.

Changes

  • Update error messages to accurately reflect the actual type being attempted to cast

@github-actions github-actions Bot added the bug Something isn't working label Jan 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@LuciferYang LuciferYang changed the title fix: Improve error messages in FixedSizeListArrayExt#convert_to_floating_point method fix: improve error messages in FixedSizeListArrayExt::convert_to_floating_point Jan 28, 2026
@wjones127 wjones127 merged commit 51a5154 into lance-format:main Feb 23, 2026
23 of 27 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance-arrow/src/lib.rs 0.00% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

@LuciferYang
Copy link
Copy Markdown
Contributor Author

Thank you @wjones127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants