ludlows opened a new issue, #11149:
URL: https://github.com/apache/iceberg/issues/11149
### Apache Iceberg version
1.6.1 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
in the code of `rewrite_data_files` procedure:
```java
Dataset<Row> scanDF =
spark()
.read()
.format("iceberg")
.option(SparkReadOptions.SCAN_TASK_SET_ID, groupId)
.option(SparkReadOptions.SPLIT_SIZE, splitSize(inputSize(group)))
.option(SparkReadOptions.FILE_OPEN_COST, "0")
.load(groupId);
```
`groupId` is a string in the format of UUID. this will cause the following
errors raised by Apache Ranger:
```
ERROR [Rewrite-Service-0] Failure during group
FileGroupInfo{globalIndex=1,partitionIndex=1,partition=PartitionData{month=999912}
org.apache.kyuubi.plugin.spark.authz.AccessContrilException: Permission
denied: user [abc] does not have [select] privilege on
[8c7rw3ae-dk95-4r3u-8c2e-wl8a93672e9k/pk_col]
```
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [ ] I cannot contribute a fix for this bug at this time
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]