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

Support for removing Universal Set #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mineralntl
Copy link
Collaborator

@mineralntl mineralntl commented Sep 27, 2024

Redoing this as it fell thru the cracks many many moons ago - this is in support for NationalSecurityAgency/datawave#1814

Comment on lines 96 to +97
Assertions.assertEquals(Sets.newHashSet("rowA", "rowB", "rowC"), helper.getAllFields(null));
Assertions.assertEquals(Sets.newHashSet("rowA", "rowB", "rowC"), helper.getAllFields(Collections.emptySet()));
Assertions.assertEquals(Collections.emptySet(), helper.getAllFields(Collections.emptySet()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought a null datatype filter and an empty datatype filter both implied "no filter, return everything". Why then the change in behavior?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The original intent was for a null datatype filter to allow all the things, a populated filter to allow only things contained therein, and an empty filter to allow none of the things.

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.

2 participants