[
https://issues.apache.org/jira/browse/AIRFLOW-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor resolved AIRFLOW-5928.
----------------------------------------
Fix Version/s: 1.10.7
Resolution: Fixed
> 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)