Skip to content

Assert partitions are empty before ALTERs #62

Open
@jcjones

Description

@jcjones

Rather than simply inferring that a partition is empty, we can check it concretely through a simple SELECT statement, like:

SELECT * FROM table PARTITION(p_20230724) LIMIT 1;

If any data comes back, then we have failed an invariant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions