[ 
https://issues.apache.org/jira/browse/IMPALA-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bharathkrishna Guruvayoor Murali updated IMPALA-8338:
-----------------------------------------------------
    Description: 
HIVE-21077 adds CREATION_TIME to Database, and it will be available in the 
metastore notifications. Hence,
 # For CREATE_DATABASE events, we should compare the creationTime of the 
Database in catalog with the Database in the event to make sure we are ignoring 
the event only if catalog has the latest Database object.
 # For DROP_DATABASE events, we should check that creation time of database in 
the notification and the catalog match to make sure that we are removing the 
correct database object.

  was:HIVE-21077 adds CREATION_TIME to Database, and it will be available in 
the metastore notifications. Hence for the CREATE_DATABASE and DROP_DATABASE 
events, we should compare the creationTime of the Database in catalog with the 
Database in the event to make sure we are ignoring the event only if catalog 
has the latest Database object.


> Check CREATION_TIME of databases in event processor to avoid redundant 
> invalidates
> ----------------------------------------------------------------------------------
>
>                 Key: IMPALA-8338
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8338
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Bharathkrishna Guruvayoor Murali
>            Assignee: Bharathkrishna Guruvayoor Murali
>            Priority: Major
>
> HIVE-21077 adds CREATION_TIME to Database, and it will be available in the 
> metastore notifications. Hence,
>  # For CREATE_DATABASE events, we should compare the creationTime of the 
> Database in catalog with the Database in the event to make sure we are 
> ignoring the event only if catalog has the latest Database object.
>  # For DROP_DATABASE events, we should check that creation time of database 
> in the notification and the catalog match to make sure that we are removing 
> the correct database object.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to