8000 feat: enhancing java LanceFileReader by adding projection push down and ranges lookup functionality by leaves12138 · Pull Request #3888 · lancedb/lance · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: enhancing java LanceFileReader by adding projection push down and ranges lookup functionality #3888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 29, 2025

Conversation

leaves12138
Copy link
Contributor

Inhance java LanceFileReader function, allow projection push down and ranges lookup push down.

Copy link

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.

@github-actions github-actions bot added the java label May 27, 2025
@leaves12138 leaves12138 changed the title java: Enhancing LanceFileReader capabilities by adding ranges lookup and projection pushdown functionalities. Enhancing java LanceFileReader by adding projection push down and ranges lookup function. May 27, 2025
@leaves12138 leaves12138 changed the title Enhancing java LanceFileReader by adding projection push down and ranges lookup function. feat: Enhancing java LanceFileReader by adding projection push down and ranges lookup function. May 27, 2025
@github-actions github-actions bot added the enhancement New feature or request label May 27, 2025
@leaves12138 leaves12138 changed the title feat: Enhancing java LanceFileReader by adding projection push down and ranges lookup function. feat: enhancing java LanceFileReader by adding projection push down and ranges lookup function. May 27, 2025
@leaves12138 leaves12138 changed the title feat: enhancing java LanceFileReader by adding projection push down and ranges lookup function. feat: enhancing java LanceFileReader by adding projection push down and ranges lookup function May 27, 2025
@leaves12138 leaves12138 changed the title feat: enhancing java LanceFileReader by adding projection push down and ranges lookup function feat: enhancing java LanceFileReader by adding projection push down and ranges lookup functionality May 27, 2025
Copy link
Collaborator
@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

@leaves12138 thanks for your contribution. Left some comments.

@leaves12138 leaves12138 requested a review from yanghua May 28, 2025 06:11

try (ArrowReader batches =
reader.readAll(
null, Arrays.asList(Range.of(1, 11), Range.of(14, 19), Range.of(20, 21)), 100)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's behavior about Range.of(1, 14), Range.of(11, 19), Range.of(20, 21)?

Copy link
Contributor Author
@leaves12138 leaves12138 May 29, 2025

Choose a reason for hiding this comment

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

It takes rows of [1,2,3,4,5,6,7,8,9,10,14,15,16,17,18,20]. It divided to range [1,11], [14,19], [20,21]

Just for test, random choose. Make sure multiple ranges will not cause an error

@leaves12138 leaves12138 requested a review from yanghua May 29, 2025 04:07
Copy link
Collaborator
@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

LGTM

@yanghua yanghua merged commit b525788 into lancedb:main May 29, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0