You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/10/04 12:53:00 UTC

[jira] [Commented] (IMPALA-8592) Add support for insert events for 'LOAD DATA..' statements from Impala.

    [ 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 <im...@cloudera.com>
Reviewed-by: Quanlong Huang <hu...@gmail.com>


> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org