github-actions[bot] opened a new pull request, #70304: URL: https://github.com/apache/airflow/pull/70304
* Add partition date support to Dag run API * Reject partition date filters on non-partitioned Dags in Dag run API Runs of a non-partitioned Dag never carry a partition_date, so filtering by partition_date_start/partition_date_end silently returned an empty list, which reads as "no runs in that window" rather than "this Dag has no partition dimension". Return 400 instead, mirroring how supplying a partition_key for a non-partitioned Dag is rejected. * Rename Dag run partition date filters to partition_date_gte/lte The other range filters on the list Dag runs endpoint use the _gte/_lte suffix convention (start_date_gte, logical_date_lte, ...), so the new partition date bounds should follow it too. Also clarify in the query parameter descriptions that the inclusive bounds cover the whole calendar day, and fold the partition-date branches into a single condition so the 400 paths and the filter path read in one place. (cherry picked from commit 8e6f28fbd33b2e8ba55f2f8b0d775847b3244516) Co-authored-by: Henry Chen <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
