Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23592 )

Change subject: IMPALA-13788: [DOCS] Docs for query options 
SYNC_HMS_EVENTS_WAIT_TIME_S and SYNC_HMS_EVENTS_STRICT_MODE
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/23592/2/docs/topics/impala_sync_hms_events_strict_mode.xml
File docs/topics/impala_sync_hms_events_strict_mode.xml:

http://gerrit.cloudera.org:8080/#/c/23592/2/docs/topics/impala_sync_hms_events_strict_mode.xml@36
PS2, Line 36:  of the query coordinator
> Does failing the query produce error? Might be good to show an example outp
There are some examples in the tests, e.g.
https://github.com/apache/impala/blob/2688e30ae51d90de6d9e061b75a2f7bc4af24892/tests/custom_cluster/test_events_custom_configs.py#L1902

The error message is "Failed to sync events from Metastore:" + the reason, e.g. 
"Failed to sync events from Metastore: HMS event processing is disabled".


http://gerrit.cloudera.org:8080/#/c/23592/3/docs/topics/impala_sync_hms_events_wait_time_s.xml
File docs/topics/impala_sync_hms_events_wait_time_s.xml:

http://gerrit.cloudera.org:8080/#/c/23592/3/docs/topics/impala_sync_hms_events_wait_time_s.xml@58
PS3, Line 58: SELECT * FROM my_updated_table;
We can use a better example that shows the relative operation in Hive. E.g. the 
table is updated by an INSERT on dynamic partitions in Hive. To safely query 
the table immediately in Impala after the Hive statement finishes, add this 
query option:

hive> insert into tbl partition(p) select * from tbl2;
impala> set sync_hms_events_wait_time_s=300;
impala> select * from tbl;

In this example, client side don't need REFRESH or explicit wait.



--
To view, visit http://gerrit.cloudera.org:8080/23592
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia11663c5e84794d4bca658124cde59bf97aa7158
Gerrit-Change-Number: 23592
Gerrit-PatchSet: 3
Gerrit-Owner: Sanjana Malhotra <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Comment-Date: Thu, 06 Nov 2025 02:35:26 +0000
Gerrit-HasComments: Yes

Reply via email to