[
https://issues.apache.org/jira/browse/AIRFLOW-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aizhamal Nurmamat kyzy updated AIRFLOW-3733:
--------------------------------------------
Component/s: (was: hive_hooks)
Removing 'hive_hooks' from components for component refactor.
> raise NameError if hql result had no record
> -------------------------------------------
>
> Key: AIRFLOW-3733
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3733
> Project: Apache Airflow
> Issue Type: Bug
> Components: hooks
> Affects Versions: 1.10.1
> Reporter: zhongjiajie
> Assignee: zhongjiajie
> Priority: Major
> Labels: easyfix, hive, hive-hooks
> Fix For: 1.10.3
>
>
> [to_csv|https://github.com/apache/airflow/blob/233f6c750c543a669c5319c7167a68a1f5b33c16/airflow/hooks/hive_hooks.py#L881-L903]
> function will raise `NameError` while hql result had not record, we should
> init variable i like
> [oracle_hooks|https://github.com/apache/airflow/blob/233f6c750c543a669c5319c7167a68a1f5b33c16/airflow/hooks/oracle_hook.py#L92-L124]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)