Skip to content

relations: Relation.unique(keep=...) accepts but silently ignores keep #218

Description

@discreteds

relation.py:326-336 declares keep='any' but never reads it — unique() always aggregates on keys. Either implement keep ('first'/'last' need an ordering contract) or raise on non-default values. Hit by a downstream consumer that needed last-wins dedup and had to implement it as a row_index window instead of relying on unique(keep=...).

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