plusplusjiajia commented on code in PR #245:
URL: https://github.com/apache/paimon-rust/pull/245#discussion_r3086412955
##########
crates/paimon/src/table/schema_manager.rs:
##########
@@ -65,6 +66,40 @@ impl SchemaManager {
format!("{}/{}{}", self.schema_directory(), SCHEMA_PREFIX, schema_id)
}
+ /// List all schema ids sorted ascending. Returns an empty vector if the
+ /// schema directory is missing or empty.
+ ///
+ /// Mirrors Java
[SchemaManager.listAllIds()](https://github.com/apache/paimon/blob/release-1.3/paimon-core/src/main/java/org/apache/paimon/schema/SchemaManager.java).
+ pub async fn list_all_ids(&self) -> crate::Result<Vec<i64>> {
Review Comment:
@JingsongLi Good catch, thanks! Done.
--
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]