-
Notifications
You must be signed in to change notification settings - Fork 2.4k
GRANT fails for ALL VIEWS in Iceberg catalog (4.1rc1) #71211
Copy link
Copy link
Open
Labels
type/bugSomething isn't workingSomething isn't working
Description
I'm using a Lakekeeper iceberg catalog via REST, defined as
CREATE EXTERNAL CATALOG lakekeeper PROPERTIES (
"type" = "iceberg",
"iceberg.catalog.type" = "rest",
"iceberg.catalog.uri" = "http://lakekeeper:8181/catalog",
"iceberg.catalog.warehouse" = "lakekeeper-gcs",
"iceberg.warehouse" = "gs://bucket/iceberg",
"iceberg.file-io-impl" = "org.apache.iceberg.gcp.gcs.GCSFileIO",
"iceberg.gcs.endpoint" = "https://storage.googleapis.com/",
"enable_iceberg_metadata_cache" = "true"
);After creating a new database in the catalog, I am trying to grant permissions, but granting for all views is failing
Steps to reproduce the behavior (Required)
SET CATALOG lakekeeper;
CREATE USER "new_user" IDENTIFIED BY 'new_pass';
CREATE DATABASE my_new_db;
GRANT ALL ON DATABASE "my_new_db" TO "new_user";
GRANT ALL ON ALL TABLES IN DATABASE "my_new_db" TO "new_user";
GRANT ALL ON ALL VIEWS IN DATABASE "my_new_db" TO "new_user";
-- DROP DATABASE my_new_db;
-- DROP USER new_user;Expected behavior (Required)
Expect grant on views to be successful
Real behavior (Required)
Error:
cannot find db: my_new_db.
StarRocks version (Required)
4.1.0-rc01-7c0eb22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/bugSomething isn't workingSomething isn't working