You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "dimas-b (via GitHub)" <gi...@apache.org> on 2025/08/15 17:25:25 UTC
[I] Unable to drop view with default server configuration [polaris]
dimas-b opened a new issue, #2367:
URL: https://github.com/apache/polaris/issues/2367
### Describe the bug
Run Polaris from recent `main` with all config defaults.
In Spark SQL do:
```
spark-sql (default)> use polaris;
spark-sql ()> create namespace ns;
spark-sql ()> create view ns.v1 as select 'abc';
spark-sql ()> drop view ns.v1;
25/08/15 13:18:09 ERROR SparkSQLDriver: Failed in [drop view ns.v1]
org.apache.iceberg.exceptions.ForbiddenException: Forbidden: Unable to purge entity: v1. To enable this feature, set the Polaris configuration DROP_WITH_PURGE_ENABLED or the catalog configuration polaris.config.drop-with-purge.enabled
```
Note that the client-side SQL does not request "PURGE".
### To Reproduce
_No response_
### Actual Behavior
_No response_
### Expected Behavior
_No response_
### Additional context
_No response_
### System information
_No response_
--
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-unsubscribe@polaris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Unable to drop view with default server configuration [polaris]
Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b closed issue #2367: Unable to drop view with default server configuration
URL: https://github.com/apache/polaris/issues/2367
--
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-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Unable to drop view with default server configuration [polaris]
Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on issue #2367:
URL: https://github.com/apache/polaris/issues/2367#issuecomment-3192258561
This is apparently a side effect of #1619.
Given that #1617 provides sound reasons for disabling DROP with PURGE by default, I believe users need a way to perform DROP VIEW without PURGE (which is possible for tables).
--
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-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org