Quanlong Huang created HIVE-28146:
-------------------------------------

             Summary: Add positive event type filter to the HMS notification 
fetch API
                 Key: HIVE-28146
                 URL: https://issues.apache.org/jira/browse/HIVE-28146
             Project: Hive
          Issue Type: New Feature
            Reporter: Quanlong Huang
            Assignee: Sai Hemanth Gantasala


The current notification fetch API supports filtering on event types:
{code:java}
struct NotificationEventRequest {
    1: required i64 lastEvent,
    2: optional i32 maxEvents,
    3: optional list<string> eventTypeSkipList,
}
NotificationEventResponse get_next_notification(1:NotificationEventRequest 
rqst){code}
There are clients like Impala that want to fetch all CREATE_TABLE events on a 
table. It's inconvenient to specify all the other types in the 
'eventTypeSkipList'. Providing a positive type list like 'eventTypeList' would 
be useful.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to