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

Avoid quadratic traversal when many columns accessible #19071

Conversation

findepi
Copy link
Member

@findepi findepi commented Sep 18, 2023

When hide-inaccessible-columns is enabled and table has N accessible columns, filterInaccessibleFields would have O(N²) running time.

When `hide-inaccessible-columns` is enabled and table has N accessible
columns, `filterInaccessibleFields` would have `O(N²)` running time.
@findepi findepi added performance no-release-notes This pull request does not require release notes entry labels Sep 18, 2023
@cla-bot cla-bot bot added the cla-signed label Sep 18, 2023
@findepi findepi merged commit 9acc35e into trinodb:master Sep 19, 2023
@findepi findepi deleted the findepi/avoid-quadratic-traversal-when-many-columns-accessible-4eaeab branch September 19, 2023 08:04
@github-actions github-actions bot added this to the 427 milestone Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed no-release-notes This pull request does not require release notes entry performance
Development

Successfully merging this pull request may close these issues.

2 participants