saihemanth-cloudera commented on code in PR #5694:
URL: https://github.com/apache/hive/pull/5694#discussion_r1996016588
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -11322,6 +11322,13 @@ public NotificationEventResponse
getNextNotification(NotificationEventRequest rq
filterBuilder.setLength(filterBuilder.length() - 4); // remove the
last " || "
filterBuilder.append(") ");
}
+ if (rqst.isSetEventTypeList()) {
+ for (String eventType : rqst.getEventTypeList()) {
+ parameterVals.add(eventType);
+ parameterBuilder.append(", java.lang.String para" +
parameterVals.size());
+ filterBuilder.append(" && eventType == para" + parameterVals.size());
Review Comment:
You are right. Let me modify the test case to address the same.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]