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

feat: DH-18778: Add rebase method to TreeTable and RollupTable in support of ACLs. #6666

Merged
merged 24 commits into from
Mar 5, 2025

Conversation

cpwright
Copy link
Contributor

@cpwright cpwright commented Feb 27, 2025

No description provided.

@cpwright cpwright self-assigned this Feb 27, 2025
@cpwright cpwright changed the title DH-18778: Add rebase method to TreeTable and RollupTable in support of ACLs. feat: DH-18778: Add rebase method to TreeTable and RollupTable in support of ACLs. Feb 27, 2025
@cpwright cpwright requested a review from rcaudy February 28, 2025 17:54
Copy link
Member

@rcaudy rcaudy left a comment

Choose a reason for hiding this comment

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

Will run coverage on the final product.

@@ -222,6 +222,28 @@ protected TreeTableImpl copy() {
parentIdentifierColumn, nodeFilterColumns, nodeOperations, availableColumnDefinitions);
}

@Override
public TreeTable rebase(@NotNull final Table newSource) {
if (!newSource.getDefinition().equals(source.getDefinition())) {
Copy link
Member

Choose a reason for hiding this comment

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

We could make a case that we just need to have the parent and id columns present on newSource. I guess we don't need to do that for the ACL case.

@cpwright cpwright requested a review from rcaudy March 1, 2025 00:10
@cpwright cpwright enabled auto-merge (squash) March 4, 2025 16:59
@cpwright
Copy link
Contributor Author

cpwright commented Mar 5, 2025

Coverage of the new rebase functions and the internal make function:

image
image
image
image

@cpwright cpwright merged commit 39a9b75 into deephaven:main Mar 5, 2025
16 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants