Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix triggerer query where limit is not supported in some DB versions #17601

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

ephraimbuddy
Copy link
Contributor

@ephraimbuddy ephraimbuddy commented Aug 13, 2021

This PR fixes the triggerrer query where limit is not supported in some DB versions and also fixed the issue where total_hours was used on a timedelta.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@ephraimbuddy ephraimbuddy added the full tests needed We need to run full set of tests for this PR to merge label Aug 13, 2021
@ephraimbuddy ephraimbuddy force-pushed the fix-triggerer-query branch 2 times, most recently from 7caa5e6 to 491bb87 Compare August 13, 2021 13:48
@ephraimbuddy ephraimbuddy changed the title Fix triggerer query where limit is not supported in some Mysql version Fix triggerer query where limit is not supported in some DB versions Aug 13, 2021
@ephraimbuddy
Copy link
Contributor Author

cc: @andrewgodwin

airflow/triggers/temporal.py Outdated Show resolved Hide resolved
This PR fixes the triggerrer query where limit is not supported in some DB version

Fix test_temporal and sqlite test too

fixup! Fix test_temporal and sqlite test too

fixup! Fix triggerer query where limit is not supported in some Mysql version
@kaxil kaxil merged commit 55b9b70 into apache:main Aug 13, 2021
@kaxil kaxil deleted the fix-triggerer-query branch August 13, 2021 18:44
@ephraimbuddy ephraimbuddy added this to the Airflow 2.2 milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants