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/01/19 15:44:00 UTC
[jira] [Created] (AIRFLOW-3733) raise NameError if hql result had
no record
zhongjiajie created AIRFLOW-3733:
------------------------------------
Summary: 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: hive_hooks
Affects Versions: 1.10.1
Reporter: zhongjiajie
Assignee: zhongjiajie
[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)