You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "dentiny (via GitHub)" <gi...@apache.org> on 2025/04/24 23:06:05 UTC
[I] Feature request: Allow pagination on list operations [iceberg-rust]
dentiny opened a new issue, #1251:
URL: https://github.com/apache/iceberg-rust/issues/1251
### Is your feature request related to a problem or challenge?
It's possible to have large number of namespace and tables, with query taking long time listing these large entities. I'm wondering if it's possible and good to provide pagination functionality to list operations.
Interface proposal:
```rs
/// Pagination parameters for listing namespaces
#[derive(Debug, Clone)]
pub struct PaginationOptions {
/// Maximum number of items to return
pub max_results: usize,
/// Token for continuing a previous listing
pub page_token: Option<String>,
}
/// Result of a paginated namespace listing
#[derive(Debug)]
pub struct PaginatedList<T> {
/// The actual items returned
pub items: Vec<T>,
/// Token for retrieving the next page of results
pub next_page_token: Option<String>,
}
/// List namespaces with pagination support
async fn list_namespaces_paginated(
&self,
parent: Option<&NamespaceIdent>,
pagination: PaginationOptions,
) -> IcebergResult<PaginatedList<NamespaceIdent>>;
/// List tables with pagination support
async fn list_tables_paginated(
&self,
namespace: &NamespaceIdent,
pagination: PaginationOptions,
) -> IcebergResult<PaginatedList<TableIdent>>;
```
### Describe the solution you'd like
_No response_
### Willingness to contribute
I can contribute to this feature independently
--
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@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Feature request: Allow pagination on list operations [iceberg-rust]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1251:
URL: https://github.com/apache/iceberg-rust/issues/1251#issuecomment-3447887291
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
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@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Feature request: Allow pagination on list operations [iceberg-rust]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1251:
URL: https://github.com/apache/iceberg-rust/issues/1251#issuecomment-3507221335
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
--
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@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Feature request: Allow pagination on list operations [iceberg-rust]
Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 commented on issue #1251:
URL: https://github.com/apache/iceberg-rust/issues/1251#issuecomment-2832916835
Thanks @dentiny , this looks good to me. [Rest catalog spec](https://github.com/apache/iceberg/blob/8ed1c216503b7193924ca57bd2694025660ac02c/open-api/rest-catalog-open-api.yaml#L257) has something similar, so I think it's reasonable to add this functionality to `RestCatalog` implementation.
--
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@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Feature request: Allow pagination on list operations [iceberg-rust]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1251: Feature request: Allow pagination on list operations
URL: https://github.com/apache/iceberg-rust/issues/1251
--
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@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org