Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2851] feat(core): Add relational backend for Group Entity #3031

Merged
merged 39 commits into from
Apr 22, 2024

Conversation

lw-yang
Copy link
Contributor

@lw-yang lw-yang commented Apr 19, 2024

What changes were proposed in this pull request?

add relational backend for Group Entity

[note]: wait for #2850 merged first

Why are the changes needed?

Fix: #2851

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

ut

@jerryshao jerryshao requested a review from yuqi1129 April 20, 2024 08:24
@lw-yang lw-yang closed this Apr 22, 2024
@lw-yang lw-yang reopened this Apr 22, 2024
qqqttt123
qqqttt123 previously approved these changes Apr 22, 2024
Copy link
Contributor

@qqqttt123 qqqttt123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jerryshao
Copy link
Contributor

@yuqi1129 please take another look at this PR.

@yuqi1129
Copy link
Contributor

@qqqttt123
I have no further comments, please go ahead if you are okay with the changes.

@qqqttt123
Copy link
Contributor

Thanks all. Wait for CI.

@jerryshao
Copy link
Contributor

jerryshao commented Apr 22, 2024

We'd better modify to support storing role, user, and group under and {metalake}.system.{role|user|group}, which is aligned with kv storage, and later on if have a system catalog mechanism, we can use system catalog to show something, what do you think? @qqqttt123 @lw-yang @yuqi1129

If it requires a lot of effort, we can do it later on.

@lw-yang
Copy link
Contributor Author

lw-yang commented Apr 22, 2024

@jerryshao I agree with you, it would also be aligned with other entities' relation storage.

I am working on this, but i found the code is changed a lot, could i modify this after 0.5.0 release

@jerryshao
Copy link
Contributor

jerryshao commented Apr 22, 2024

@jerryshao I agree with you, it would also be aligned with other entities' relation storage.

I am working on this, but i found the code is changed a lot, could i modify this after 0.5.0 release

OK, no problem. Can you please create an issue to track this?

@lw-yang
Copy link
Contributor Author

lw-yang commented Apr 22, 2024

sure, I have created an issue #3099

@qqqttt123 qqqttt123 merged commit dfdd553 into apache:main Apr 22, 2024
22 checks passed
@qqqttt123
Copy link
Contributor

Merged this first. Thanks all.

yuqi1129 added a commit that referenced this pull request Apr 23, 2024
### What changes were proposed in this pull request?

Add relational backend for Role Entity

[note]: wait for #3031  merged first

### Why are the changes needed?

Fix: #2852 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

ut

---------

Co-authored-by: yangliwei <[email protected]>
Co-authored-by: Qi Yu <[email protected]>
github-actions bot pushed a commit that referenced this pull request Apr 23, 2024
### What changes were proposed in this pull request?

Add relational backend for Role Entity

[note]: wait for #3031  merged first

### Why are the changes needed?

Fix: #2852 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

ut

---------

Co-authored-by: yangliwei <[email protected]>
Co-authored-by: Qi Yu <[email protected]>
yuqi1129 added a commit that referenced this pull request Apr 23, 2024
### What changes were proposed in this pull request?

Add relational backend for Role Entity

[note]: wait for #3031  merged first

### Why are the changes needed?

Fix: #2852 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

ut

Co-authored-by: lwyang <[email protected]>
Co-authored-by: yangliwei <[email protected]>
Co-authored-by: Qi Yu <[email protected]>
diqiu50 pushed a commit to diqiu50/gravitino that referenced this pull request Jun 13, 2024
…ache#3031)

### What changes were proposed in this pull request?

add relational backend for Group Entity

[note]: wait for apache#2850 merged first

### Why are the changes needed?

Fix: apache#2851 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

ut

---------

Co-authored-by: yangliwei <[email protected]>
diqiu50 pushed a commit to diqiu50/gravitino that referenced this pull request Jun 13, 2024
…che#3065)

### What changes were proposed in this pull request?

Add relational backend for Role Entity

[note]: wait for apache#3031  merged first

### Why are the changes needed?

Fix: apache#2852 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

ut

---------

Co-authored-by: yangliwei <[email protected]>
Co-authored-by: Qi Yu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] Add relational backend for Group Entity
4 participants