This repository was archived by the owner on Dec 22, 2025. It is now read-only.
Add config to omit columns from data transfer#188
Closed
reidab wants to merge 1 commit intohellofresh:masterfrom
Closed
Add config to omit columns from data transfer#188reidab wants to merge 1 commit intohellofresh:masterfrom
reidab wants to merge 1 commit intohellofresh:masterfrom
Conversation
This is useful for cases like Postgres generated columns, which will cause PG to reject the COPY operation outright if those columns are included in the input.
|
This PR has been automatically marked as stale because it has not had any activity in the last 14 days. It will be closed if no further activity occurs, thank you for your contributions. |
|
This PR has been automatically closed because it has not had any activity in the last 21 days. Feel free to re-open in case you would like to follow up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We ran into an issue when using Postgres generated columns, where Postgres will reject the COPY operation outright if they are included in the input. In order to copy tables that include generated columns, we needed to prevent those columns from being included in the kelpto transfer.
This PR extends the anonymizer to support an
Omitconfig option. Columns listed underOmitwill still be included in the structural transfer, but will be removed in the data transfer phase.