You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "zhongjiajie (Jira)" <ji...@apache.org> on 2019/11/14 05:34:00 UTC

[jira] [Created] (AIRFLOW-5928) hive hooks load_file short circuit

zhongjiajie created AIRFLOW-5928:
------------------------------------

             Summary: 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


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)