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

Optimize setup flow for table addition #2141

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Oct 15, 2024

In the CreateNormalizedTable activity, we fetch the tablenameschemamapping from catalog and pass it to the setupNormalize function of the connector.
This does not make sense for table addition however, where setup flow needs to be done for a handful of tables and not the entire set

This PR refactors the activity to pass in the tables provided as input to the activity and uses the catalog map to get the source schema of the tables

Also rename a few symbols to be more readable

  • Automated test

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.

2 participants