luoyuxia commented on code in PR #214:
URL: https://github.com/apache/fluss-rust/pull/214#discussion_r2727783486
##########
crates/fluss/src/client/admin.rs:
##########
@@ -140,7 +140,10 @@ impl FlussAdmin {
}
/// List all partitions in the given table.
- pub async fn list_partition_infos(&self, table_path: &TablePath) ->
Result<Vec<PartitionInfo>> {
+ pub async fn list_partition_infos(
+ &self,
+ table_path: &TablePath,
+ ) -> Result<Vec<PartitionInfo<'_>>> {
Review Comment:
I think clone is fine to me. And it give more freedom for caller to use it.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]