Skip to content

fix: update SparseEncodingEncoderTest for #232 MaskedArray wrapping#241

Merged
dfa1 merged 1 commit into
mainfrom
fix/232-encoder-test-regression
Jul 8, 2026
Merged

fix: update SparseEncodingEncoderTest for #232 MaskedArray wrapping#241
dfa1 merged 1 commit into
mainfrom
fix/232-encoder-test-regression

Conversation

@dfa1

@dfa1 dfa1 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

The #232 fix made decodeVarBin return a MaskedArray when the fill scalar is null. Two existing SparseEncodingEncoderTest.Decode tests were casting the result directly to VarBinArray and broke on CI with ClassCastException. This PR unwraps to .inner() and adds validity assertions.

Test plan

  • ./mvnw test -pl writer -Dtest=SparseEncodingEncoderTest -q

🤖 Generated with Claude Code

decodeVarBin now returns MaskedArray when fill is null (#232); the two
decode_utf8_* encoder tests cast directly to VarBinArray and broke on CI.
Unwrap to inner() and assert validity on the masked rows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dfa1 dfa1 merged commit 11323f5 into main Jul 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant