Skip to content

[lance] Fix ArrayIndexOutOfBoundsException when reading vector search results with Lance format#7719

Merged
JingsongLi merged 3 commits into
apache:masterfrom
XiaoHongbo-Hope:lance_support_rowranges
Apr 28, 2026
Merged

[lance] Fix ArrayIndexOutOfBoundsException when reading vector search results with Lance format#7719
JingsongLi merged 3 commits into
apache:masterfrom
XiaoHongbo-Hope:lance_support_rowranges

Conversation

@XiaoHongbo-Hope
Copy link
Copy Markdown
Contributor

@XiaoHongbo-Hope XiaoHongbo-Hope commented Apr 28, 2026

Purpose

Reading vector search results on lance format throws java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2. This PR fixes the issue so that lance format can work well in vector search

Tests

@XiaoHongbo-Hope XiaoHongbo-Hope force-pushed the lance_support_rowranges branch from 746aa59 to e3ea886 Compare April 28, 2026 07:12
@XiaoHongbo-Hope XiaoHongbo-Hope force-pushed the lance_support_rowranges branch from e3ea886 to 61f54f9 Compare April 28, 2026 07:14
Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 60b6852 into apache:master Apr 28, 2026
12 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.

2 participants