Quanlong Huang created IMPALA-13684:
---------------------------------------
Summary: Improve waitForHmsEvent() to only wait for events on
candidate tables
Key: IMPALA-13684
URL: https://issues.apache.org/jira/browse/IMPALA-13684
Project: IMPALA
Issue Type: Improvement
Components: Catalog
Reporter: Quanlong Huang
Assignee: Quanlong Huang
IMPALA-12152 adds a waiting mechanism before query planning to wait until
catalogd is in synced with HMS events. It simply fetched the latest event id
when the TWaitForHmsEventRequest is processed and wait until that event is
processed.
For non-transactional tables, we can leverage HIVE-27499 to efficiently detect
whether the candidate tables have unsynced events and just wait for the
*largest* id of them.
On the other hand, if a candidate table is unloaded in catalogd, we don't need
to wait for its events since there are no stale metadata of it cached in
catalogd.
CC [~hemanth619], [~VenuReddy]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)