You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/27 16:35:57 UTC
[GitHub] [airflow] jyotsa09 opened a new issue, #26013: schedule_interval is not respecting the value assigned to that either it's one day or none
jyotsa09 opened a new issue, #26013:
URL: https://github.com/apache/airflow/issues/26013
### Apache Airflow version
main (development)
### What happened
Schedule_interval is `none` even if `schedule_interval=timedelta(days=5)` also its 1 day for `schedule_interval=None`
### What you think should happen instead
It should respect the value assigned to it.
### How to reproduce
Create a dag with `schedule_interval=None` or `schedule_interval=timedelta(days=5)` and observe the behaviour.
![2022-08-27 17 42 07](https://user-images.githubusercontent.com/88504849/187039335-90de6855-b674-47ba-9c03-3c437722bae5.gif)
**DAG-**
```
with DAG(
dag_id="branch_python_operator",
start_date=days_ago(1),
schedule_interval="* * * * *",
doc_md=docs,
tags=['core']
) as dag:
```
**DB Results-**
```
postgres=# select schedule_interval from dag where dag_id='branch_python_operator';
schedule_interval
------------------------------------------------------------------------------
{"type": "timedelta", "attrs": {"days": 1, "seconds": 0, "microseconds": 0}}
(1 row)
```
### Operating System
Ubuntu
### Versions of Apache Airflow Providers
_No response_
### Deployment
Astronomer
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] ephraimbuddy commented on issue #26013: schedule_interval is not respecting the value assigned to that either it's one day or none
Posted by GitBox <gi...@apache.org>.
ephraimbuddy commented on issue #26013:
URL: https://github.com/apache/airflow/issues/26013#issuecomment-1231941517
> I think #25999 fixes this
Looks like the issue is still there
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] jyotsa09 commented on issue #26013: schedule_interval is not respecting the value assigned to that either it's one day or none
Posted by GitBox <gi...@apache.org>.
jyotsa09 commented on issue #26013:
URL: https://github.com/apache/airflow/issues/26013#issuecomment-1229224236
FYI.. @ephraimbuddy
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on issue #26013: schedule_interval is not respecting the value assigned to that either it's one day or none
Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #26013:
URL: https://github.com/apache/airflow/issues/26013#issuecomment-1229369616
I think #25999 fixes this
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] ephraimbuddy closed issue #26013: schedule_interval is not respecting the value assigned to that either it's one day or none
Posted by GitBox <gi...@apache.org>.
ephraimbuddy closed issue #26013: schedule_interval is not respecting the value assigned to that either it's one day or none
URL: https://github.com/apache/airflow/issues/26013
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org