[ https://issues.apache.org/jira/browse/AIRFLOW-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974722#comment-16974722 ]
ASF subversion and git services commented on AIRFLOW-5928: ---------------------------------------------------------- Commit 2c1f8a4bf4bf233b77a4e9bdf0346d417614d3db in airflow's branch refs/heads/master from Jiajie Zhong [ https://gitbox.apache.org/repos/asf?p=airflow.git;h=2c1f8a4 ] [AIRFLOW-5928] Hive hooks load_file short circuit (#6582) If function load_file with parameter create and recreate are set to False, hql = '' and should not call function HiveCliHook.run_cli > 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 > > 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)