-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Remove usused index on task instance #36737
Merged
dstandish
merged 4 commits into
apache:main
from
astronomer:remove-unused-index-taskinstanec
Jan 13, 2024
Merged
Remove usused index on task instance #36737
dstandish
merged 4 commits into
apache:main
from
astronomer:remove-unused-index-taskinstanec
Jan 13, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reverts apache#30762 Index is only helpful for a user's custom query -- not for airflow in general (see comment apache#30762 (comment)). I also observed that it also takes up as much (or more) space than the table itself. As such it doesn't belong in airflow OSS.
dstandish
requested review from
potiuk,
kaxil,
XD-DENG and
ashb
as code owners
January 11, 2024 20:16
potiuk
approved these changes
Jan 11, 2024
dirrao
approved these changes
Jan 12, 2024
airflow/migrations/versions/0126_2_7_0_add_index_to_task_instance_table.py
Show resolved
Hide resolved
potiuk
pushed a commit
that referenced
this pull request
Jan 13, 2024
Index is only helpful for a user's custom query -- not for airflow in general (see comment #30762 (comment)). Noticed that this query had zero scans over a period of months. I also observed that it also takes up as much space as the table itself. Since it's not generally useful, it doesn't belong in airflow OSS. Reverts #30762 (cherry picked from commit e20b400)
ephraimbuddy
pushed a commit
that referenced
this pull request
Jan 15, 2024
Index is only helpful for a user's custom query -- not for airflow in general (see comment #30762 (comment)). Noticed that this query had zero scans over a period of months. I also observed that it also takes up as much space as the table itself. Since it's not generally useful, it doesn't belong in airflow OSS. Reverts #30762 (cherry picked from commit e20b400)
68 tasks
abhishekbhakat
pushed a commit
to abhishekbhakat/my_airflow
that referenced
this pull request
Mar 5, 2024
Index is only helpful for a user's custom query -- not for airflow in general (see comment apache#30762 (comment)). Noticed that this query had zero scans over a period of months. I also observed that it also takes up as much space as the table itself. Since it's not generally useful, it doesn't belong in airflow OSS. Reverts apache#30762
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #30762
Index is only helpful for a user's custom query -- not for airflow in general (see comment #30762 (comment)). I also observed that it also takes up as much (or more) space than the table itself. As such it doesn't belong in airflow OSS.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.