[ https://issues.apache.org/jira/browse/AIRFLOW-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974721#comment-16974721 ]
ASF GitHub Bot commented on AIRFLOW-5928: ----------------------------------------- KevinYang21 commented on pull request #6582: [AIRFLOW-5928] Hive hooks load_file short circuit URL: https://github.com/apache/airflow/pull/6582 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)