You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/17 20:29:03 UTC
[jira] [Updated] (AIRFLOW-1694) Hive Hooks: Python 3 does not have
an `itertools.izip` function
[ https://issues.apache.org/jira/browse/AIRFLOW-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aizhamal Nurmamat kyzy updated AIRFLOW-1694:
--------------------------------------------
Labels: hive hive-hooks (was: )
Component/s: hooks
Moving hive_hooks to hooks, adding hooks label for component refactor.
> 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, hooks
> Reporter: Yati
> Priority: Major
> Labels: hive, hive-hooks
> Fix For: 1.9.0
>
>
> 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
(v7.6.3#76005)