Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table-key-properties to key_property #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EmaLoprevite
Copy link

Description of change

Allow table-key-properties to be added to the metadata and put into key_property in the SCHEMA, this way a target will be able to read the primary keys.

Manual QA steps

  • Run the tap and look at the final SCHEMA.

Risks

  • None, if table-key-properties is not defined, it will default to [].

Rollback steps

  • Revert this branch.

Allow `table-key-properties` to be added to the metadata and put into `key_property` in the SCHEMA, this way a target will be able to read the primary keys.
Copy link

@ilkkapeltola ilkkapeltola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a good solution to the problem.

@ilkkapeltola
Copy link

@kspeer825 could you have a look at this. This PR would make the tap significantly more useful when the target knows which primary keys to use in reports. Without this, I cannot load into Snowflake as there's no information on primary keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants