-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve tests for rechunking (#1532)
- Loading branch information
1 parent
daee0e0
commit 9de9f3b
Showing
2 changed files
with
89 additions
and
29 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
alembic/versions/59c5cc87c066_drop_outdated_rechunking_data.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
"""Drop outdated rechunking data | ||
Revision ID: 59c5cc87c066 | ||
Revises: e11cd1aaed38 | ||
Create Date: 2024-08-16 15:16:27.114045 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '59c5cc87c066' | ||
down_revision = 'e11cd1aaed38' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.execute( | ||
""" | ||
delete from test_run | ||
where originalname in ( | ||
'test_adjacent_groups', | ||
'test_heal_oversplit', | ||
'test_swap_axes', | ||
'test_tiles_to_rows' | ||
) | ||
""" | ||
) | ||
|
||
|
||
def downgrade() -> None: | ||
pass |
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