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

[TDL-24255] Fix for attribute & generated relationship name #32

Merged
merged 6 commits into from Oct 10, 2023

Conversation

shantanu73
Copy link
Contributor

@shantanu73 shantanu73 commented Oct 3, 2023

Description of change

JIRA
Fixed attribute & generated relationship name issue with mailings stream for followUpSequenceId attribute.

Manual QA steps

  • Generated test data for mailings stream
  • Ran discovery and sync

Risks

  • Customer connections will fail for mailings stream if this fix is not pushed.

Rollback steps

  • revert this branch

@shantanu73 shantanu73 changed the title Fix for attribute & generated relationship name [TDL-24255] Fix for attribute & generated relationship name Oct 4, 2023
@shantanu73
Copy link
Contributor Author

Did an alpha for the customer and their connection is working now with changes in this PR.
So, it is good to merge.

@@ -251,7 +251,7 @@ def process_records(stream, mdata, max_modified, records, filter_field, fks):
'null or `id` field expected for `data` relationship')

# potential fix for the issue - https://github.com/singer-io/tap-outreach/issues/20
if stream.tap_stream_id not in ["prospects", "events"]:
if stream.tap_stream_id not in ["prospects", "events", "mailings"]:
Copy link

Choose a reason for hiding this comment

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

If a stream encountering this exception means we have to come in and say "and don't throw for this stream" then why are we throwing this exception at all?

Copy link
Member

Choose a reason for hiding this comment

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

We should consider overriding the key value from the relationships as per the Outreach support -

image

tap_outreach/sync.py Outdated Show resolved Hide resolved
@shantanu73 shantanu73 merged commit 7e2f8b2 into master Oct 10, 2023
1 check passed
@dsprayberry dsprayberry deleted the mailings-followUpSequenceId-fix branch November 27, 2023 20:21
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

3 participants