Skip to content

forbid to create/alter a table with TTL options when pk contains float/double column #40486

@lcwangchao

Description

@lcwangchao

For current implementation we construct the delete sql to delete expired rows, for example:

DELETE FROM t WHERE pk IN (1, 2)

If the primary key is a float/double value, the expired rows may not be deleted successfully because the precision problem. We need to forbid creating/altering a table with TTL options in this case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions