diff --git a/pyiceberg/catalog/rest/__init__.py b/pyiceberg/catalog/rest/__init__.py index 97a71b429b..9e59917f60 100644 --- a/pyiceberg/catalog/rest/__init__.py +++ b/pyiceberg/catalog/rest/__init__.py @@ -1132,7 +1132,7 @@ def drop_table(self, identifier: str | Identifier, purge_requested: bool = False self._check_endpoint(Capability.V1_DELETE_TABLE) response = self._session.delete( self.url(Endpoints.drop_table, prefixed=True, **self._split_identifier_for_path(identifier)), - params={"purgeRequested": purge_requested}, + params={"purgeRequested": "true" if purge_requested else "false"}, ) try: response.raise_for_status()