-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
ref(eap) Remove old attributes tables #6375
base: master
Are you sure you want to change the base?
Conversation
The original meta attribute tables were replaced with slightly different versions. Remove the old tables.
isn't this in migration 5 already? |
), | ||
] | ||
|
||
def backwards_ops(self) -> Sequence[SqlOperation]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably shouldn't have a backwards ops. We don't want to try and recreate this table if the migration fails
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
This PR has a migration; here is the generated SQL -- start migrations
-- forward migration events_analytics_platform : 0016_remove_old_span_attribute_table
Local op: DROP TABLE IF EXISTS spans_attributes_meta_local;
Distributed op: DROP TABLE IF EXISTS spans_attributes_meta_dist;
-- end forward migration events_analytics_platform : 0016_remove_old_span_attribute_table
-- backward migration events_analytics_platform : 0016_remove_old_span_attribute_table
-- end backward migration events_analytics_platform : 0016_remove_old_span_attribute_table |
When an escape character is used in a string, Python 3.12 will now show a SyntaxWarning. See here: https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes This was causing mypy to fail to run. Fix this bug across the codebase. Also exclude the rust_snuba files (which suffer from this problem) since they are autogenerated.
This reverts commit a561c8f.
The original meta attribute tables were replaced with slightly different versions.
Remove the old tables.