airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yati (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1694) Hive Hooks: Python 3 does not have an `itertools.izip` function
Date Mon, 09 Oct 2017 08:50:00 GMT
Yati created AIRFLOW-1694:
-----------------------------

             Summary: Hive Hooks: Python 3 does not have an `itertools.izip` function
                 Key: AIRFLOW-1694
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1694
             Project: Apache Airflow
          Issue Type: Bug
          Components: hive_hooks
            Reporter: Yati


In `hooks/hive_hooks.py`, we have a use of `itertools.izip()`, which would not work in Python
3, but the builtin `zip()` returns an iterator. `six.moves` can be used from either Python
2/3 to import such objects that have been moved around.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message