-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
HIVE-28146: Add positive event type filter to the HMS notification fe… #5694
base: master
Are you sure you want to change the base?
Conversation
for (String eventType : rqst.getEventTypeList()) { | ||
parameterVals.add(eventType); | ||
parameterBuilder.append(", java.lang.String para" + parameterVals.size()); | ||
filterBuilder.append(" && eventType == para" + parameterVals.size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be ||
instead of &&
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. Let me modify the test case to address the same.
6656468
to
c268e93
Compare
|
…tch API
What changes were proposed in this pull request?
Added a new field 'eventTypeList' in the NotificationEventRequest
Why are the changes needed?
So that clients can request notificationEvents based on required event types.
Does this PR introduce any user-facing change?
No.
Is the change a dependency upgrade?
No.
How was this patch tested?
Local testing and added unit test for the same.