Skip to content

[SubTask #7040] Iceberg Permission Check #7136

@davidyuan1223

Description

@davidyuan1223

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the feature

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

Motivation

View

  • create view
  • create view with properties
  • select view
  • show views
  • show create view
  • display view
  • replace view
  • set view properties
  • remove view properties
  • drop view

Producers

  • cherry pick snapshot
  • publish changes
  • fast forward
  • expire snapshot
  • remove orphan files
  • rewrite data files
  • rewrite manifests
  • rewrite position delete files
  • migration of snapshot
  • migration of migrate
  • migration of add files
  • migration of register table
  • ancestors of
  • create changelog view
  • compute table stats
  • 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?

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions