Skip to content

column transformer randomised entries for unique columns #1136

Description

@thorfi

Is your feature request related to a problem? Please describe.

We have a person table where we have some tables with unique phone numbers and business names that we would like to randomise via pgstream transformer but still have them remain unique.

Describe the solution you'd like

To have a setting:
on_conflict_action: "retry_transformer"
Where if we get a conflict (presumably due to unique index), re-run the transformer and try again?

Describe alternatives you've considered
column transformer option to specify that column as unique and for the transformer to check the target db before applying?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions