airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1145) Closest_date_partition not working with before = True
Date Sat, 13 May 2017 19:11:04 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009473#comment-16009473
] 

ASF subversion and git services commented on AIRFLOW-1145:
----------------------------------------------------------

Commit 9e6dfcbdb4a4bbd63a8683778e3b3dafe149150c in incubator-airflow's branch refs/heads/v1-8-test
from julien-gm
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=9e6dfcb ]

[AIRFLOW-1145] Fix closest_date_partition function with before set to True
If we're looking for the closest date before, we should take the latest date in the list of
date before.

Closes #2257 from julien-gm/fix_closest-date-
partition

(cherry picked from commit 0da540bf7840ae3cac866e352fba2b8b5cd9a625)
Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>


> Closest_date_partition not working with before = True
> -----------------------------------------------------
>
>                 Key: AIRFLOW-1145
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1145
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hive_hooks, plugins
>    Affects Versions: Airflow 2.0, Airflow 1.8
>            Reporter: Julien GRAND-MOURCEL
>            Assignee: Julien GRAND-MOURCEL
>            Priority: Minor
>              Labels: easyfix, features, newbie
>             Fix For: Airflow 2.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When using the closest_date_partition with the parameter "before" set to True, the function
always returns the oldest date for this partition.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message