airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-5928) hive hooks load_file short circuit
Date Tue, 17 Dec 2019 11:30:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998108#comment-16998108
] 

ASF subversion and git services commented on AIRFLOW-5928:
----------------------------------------------------------

Commit dd65ce2d7b4ba198669c6303730d732d093d4292 in airflow's branch refs/heads/v1-10-test
from Jiajie Zhong
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=dd65ce2 ]

[AIRFLOW-5928] Hive hooks load_file short circuit (#6582)

cherry picked from 2c1f8a4bf4bf233b77a4e9bdf0346d417614d3db


> hive hooks load_file short circuit
> ----------------------------------
>
>                 Key: AIRFLOW-5928
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5928
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>    Affects Versions: 1.10.6
>            Reporter: zhongjiajie
>            Assignee: zhongjiajie
>            Priority: Major
>             Fix For: 1.10.7
>
>
> If function `load_file` with parameter `create` and `recreate` are `False`, `hql = ''`
and should not call `HiveCliHook.run_cli`
> Due to `recreate` in two `if` statement, `HiveCliHook.run_cli` only need to in the last
one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message