apache / apache/kyuubi

[SubTask #7040] Iceberg Permission Check

Open
#7,136 0 comments 1 reaction 0 assignees View on GitHub
kind:feature priority:major
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [x] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.

### Describe the feature

Parent Issue: #7040
Support check the iceberg permission about View and Producers

### Motivation

**View**

- [x] create view
- [x] create view with properties
- [x] select view
- [x] show views
- [x] show create view
- [x] display view
- [x] replace view
- [x] set view properties
- [x] remove view properties
- [x] drop view

**Producers**

- [x] cherry pick snapshot
- [x] publish changes
- [x] fast forward
- [x] expire snapshot
- [x] remove orphan files
- [x] rewrite data files
- [x] rewrite manifests
- [x] rewrite position delete files
- [x] migration of snapshot
- [x] migration of migrate
- [x] migration of add files
- [x] migration of register table
- [x] ancestors of
- [x] create changelog view
- [x] compute table stats
- [x] rewrite table stats

### Describe the solution

test those sql command
And the set or remove view properties is spark v2 command, but we have not added it, so i fix this @yaooqinn

### Additional context

Another test cases i think have been tested in the spark test.
If you found any question or bug, could report it to me, i will fix

### Are you willing to submit PR?

- [x] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [ ] No. I cannot submit a PR at this time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.