naivedogger commented on code in PR #5:
URL: https://github.com/apache/fluss-rust/pull/5#discussion_r2335949840


##########
crates/fluss/src/client/admin.rs:
##########
@@ -66,6 +85,21 @@ impl FlussAdmin {
         Ok(())
     }
 
+    pub async fn drop_table(
+        &self,
+        table_path: &TablePath,
+        ignore_if_exists: bool,
+    ) -> Result<()> {
+        let _response = self
+            .admin_gateway
+            .request(DropTableRequest::new(
+                table_path,
+                ignore_if_exists,
+            )?)

Review Comment:
   fixed



##########
crates/fluss/src/client/admin.rs:
##########
@@ -90,4 +124,245 @@ impl FlussAdmin {
             modified_time,
         ))
     }
+
+    /// List all tables in the given database
+    pub async fn list_tables(&self, database_name: &str) -> 
Result<Vec<String>> {
+        let response = self
+            .admin_gateway
+            .request(ListTablesRequest::new(database_name)?)

Review Comment:
   fixed



-- 
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-unsubscr...@fluss.apache.org

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

Reply via email to