This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino-playground.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c3352a  [MINOR] fix(jupyter): Force drop catalog and metalake (#95)
4c3352a is described below

commit 4c3352a7759f82600616c145e956231c8b58becc
Author: mchades <[email protected]>
AuthorDate: Fri Nov 1 19:41:24 2024 +0800

    [MINOR] fix(jupyter): Force drop catalog and metalake (#95)
    
    Force drop catalog and metalake
---
 init/jupyter/gravitino-fileset-example.ipynb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init/jupyter/gravitino-fileset-example.ipynb 
b/init/jupyter/gravitino-fileset-example.ipynb
index 17b7efc..2527f20 100644
--- a/init/jupyter/gravitino-fileset-example.ipynb
+++ b/init/jupyter/gravitino-fileset-example.ipynb
@@ -296,7 +296,7 @@
    "outputs": [],
    "source": [
     "# Drop catalog\n",
-    "result=gravitino_client.drop_catalog(name=catalog_name)\n",
+    "result=gravitino_client.drop_catalog(name=catalog_name, force=True)\n",
     "print(result)"
    ]
   },
@@ -308,7 +308,7 @@
    "outputs": [],
    "source": [
     "# Drop metalake\n",
-    "result=gravitino_admin_client.drop_metalake(metalake_name)\n",
+    "result=gravitino_admin_client.drop_metalake(metalake_name, force=True)\n",
     "print(result)"
    ]
   }

Reply via email to