airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Yang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-2150) Use get_partition_names() instead of get_partitions() in HiveMetastoreHook().max_partition()
Date Tue, 20 Mar 2018 19:28:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Yang resolved AIRFLOW-2150.
---------------------------------
    Resolution: Fixed

> Use get_partition_names() instead of get_partitions() in HiveMetastoreHook().max_partition()
> --------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-2150
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2150
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Kevin Yang
>            Assignee: Kevin Yang
>            Priority: Major
>
> get_partitions() is extremely expensive for large tables, max_partition() should be using
get_partition_names() instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message