[
https://issues.apache.org/jira/browse/IMPALA-8592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612607#comment-17612607
]
ASF subversion and git services commented on IMPALA-8592:
---------------------------------------------------------
Commit cf9c443ddca7403d2a92b2a01a374749a72e5f8f in impala's branch
refs/heads/master from Yu-Wen Lai
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=cf9c443dd ]
IMPALA-8592: Add support for insert events for 'LOAD DATA' statements
from Impala
In this patch, we use TUpdateCatalogRequest to refresh metadata after
'LOAD DATA' instead of TResetMetadataRequest so that we can reuse the
code for 'INSERT' statements. It will fire an insert event just same
as what we did for 'INSERT' statements.
We also fix the inconsistent indentation in event_processor_utils.py.
Testing:
- Run existing test_load.py
- Added test_load_data_from_impala() in test_event_processing.py
Change-Id: I7f1b470f40e0aaf891c9f3f327af393b2f9c74bc
Reviewed-on: http://gerrit.cloudera.org:8080/19052
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Quanlong Huang <[email protected]>
> Add support for insert events for 'LOAD DATA..' statements from Impala.
> -----------------------------------------------------------------------
>
> Key: IMPALA-8592
> URL: https://issues.apache.org/jira/browse/IMPALA-8592
> Project: IMPALA
> Issue Type: Improvement
> Components: Catalog
> Reporter: Anurag Mantripragada
> Assignee: Yu-Wen Lai
> Priority: Major
>
> Hive generates INSERT events for LOAD DATA.. statements. We should support
> the same in Impala.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]