[
https://issues.apache.org/jira/browse/AIRFLOW-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009472#comment-16009472
]
ASF subversion and git services commented on AIRFLOW-1145:
----------------------------------------------------------
Commit 0da540bf7840ae3cac866e352fba2b8b5cd9a625 in incubator-airflow's branch
refs/heads/master from julien-gm
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=0da540b ]
[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
> 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)