apache / apache/fluss-rust

Add support of limit scan

Open
#311 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
58
Forks
50
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/fluss-rust/issues) and found nothing similar.

### Motivation

I’m currently working on [fluss-datafusion](https://github.com/zuston/fluss-datafusion) and would like to expose some example data using LIMIT. However, I haven’t found an existing implementation for this in the project, so I’m happy to contribute it.

That said, the current scanner abstraction makes this a bit complex. The logic between the log scanner and the KV scanner appears quite similar, and it might be worth considering whether these two scanners could be unified.

I’d appreciate any guidance or suggestions on how best to approach a refactor in this area, especially with respect to simplifying the scanner abstraction while keeping the design clean and extensible.

### Solution

_No response_

### Anything else?

_No response_

### Willingness to contribute

- [x] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.