You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "fresh-borzoni (via GitHub)" <gi...@apache.org> on 2026/02/14 01:26:50 UTC

[I] Proto + RPC plumbing for LimitScan [fluss-rust]

fresh-borzoni opened a new issue, #315:
URL: https://github.com/apache/fluss-rust/issues/315

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss-rust/issues) and found nothing similar.
   
   
   ### Description
   
   Add the wire protocol and message types needed for the LimitScan RPC.                                                                                                                                                                        
   
    ``rust
     message LimitScanRequest {
       required int64 table_id = 2;
       optional int64 partition_id = 3;
       required int32 bucket_id = 4;
       required int32 limit = 5;
     }
   
     message LimitScanResponse {
       optional int32 error_code = 1;
       optional string error_message = 2;
       optional bool is_log_table = 3;
       optional bytes records = 4;
     }
   ```
   
    Add LimitScan = 1033 variant to ApiKey enum, mappings, test
   
   Follow lookup.rs pattern to define LimitScanRequest in rpc messages
   ```rust
     pub struct LimitScanRequest { pub inner_request: proto::LimitScanRequest }
     impl RequestBody for LimitScanRequest {
         type ResponseBody = proto::LimitScanResponse;
         const API_KEY: ApiKey = ApiKey::LimitScan;
         const REQUEST_VERSION: ApiVersion = ApiVersion(0);
     }
     impl_write_version_type!(LimitScanRequest);
     impl_read_version_type!(LimitScanResponse);
   ```
   
   
   
   ### Willingness to contribute
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Proto + RPC plumbing for LimitScan [fluss-rust]

Posted by "leekeiabstraction (via GitHub)" <gi...@apache.org>.
leekeiabstraction closed issue #315: Proto + RPC plumbing for LimitScan
URL: https://github.com/apache/fluss-rust/issues/315


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Proto + RPC plumbing for LimitScan [fluss-rust]

Posted by "fresh-borzoni (via GitHub)" <gi...@apache.org>.
fresh-borzoni commented on issue #315:
URL: https://github.com/apache/fluss-rust/issues/315#issuecomment-3900456489

   @zuston Thank you, feel free to grab an issue.
   But I'll wait for @luoyuxia to validate the approach first, attach this as subtasks and good to go.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Proto + RPC plumbing for LimitScan [fluss-rust]

Posted by "fresh-borzoni (via GitHub)" <gi...@apache.org>.
fresh-borzoni commented on issue #315:
URL: https://github.com/apache/fluss-rust/issues/315#issuecomment-4157737079

   I may help with this, as we wish unblock this feature


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Proto + RPC plumbing for LimitScan [fluss-rust]

Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on issue #315:
URL: https://github.com/apache/fluss-rust/issues/315#issuecomment-3900411915

   Maybe I can take this like discussed in the #311 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Proto + RPC plumbing for LimitScan [fluss-rust]

Posted by "luoyuxia (via GitHub)" <gi...@apache.org>.
luoyuxia commented on issue #315:
URL: https://github.com/apache/fluss-rust/issues/315#issuecomment-3900492682

   @zuston Thanks you. If you found it will solve your problem. Feel free to take it. But I'd like to mention that the limit scan is not designed for full data scan, it just for a quick data query.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org