Skip to content

Why does the tap use composite primary keys for some streams? #412

@steven-luabase

Description

@steven-luabase

For example:

primary_keys = ["id", "updated_time"] # noqa: RUF012

Shouldn't just id be enough? Wouldn't some targets have duplicates in the resulting table if we use id and updated_time to check for uniqueness when merging/upserting?

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