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

🐛 Source Klaviyo: have region also be a number #44930

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Aug 30, 2024

What

Addresses https://github.com/airbytehq/oncall/issues/6353

How

At first, we thought of adding a type to the schema. That being said, this is a breaking change.

Hence, we decided to add normalization to the profiles stream. This might slow down a bit the connector but we avoid a breaking change. Eventually, we might want to switch to this solution

User Impact

The users that have some attributes.location.region as a number will now have successful syncs if the destination had typing issues.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Aug 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 30, 2024 6:02pm

@maxi297 maxi297 force-pushed the oncall-6353/klaviyo-region-can-be-a-number branch from 07b7c1d to f740adb Compare August 30, 2024 17:41
@maxi297 maxi297 requested review from girarda and lazebnyi August 30, 2024 17:47
Copy link
Contributor

@girarda girarda left a comment

Choose a reason for hiding this comment

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

:shipit: and thank you for writing a test

assert len(output.records) == 1

@HttpMocker()
def test_given_region_is_number_when_read_then_cast_as_string(self, http_mocker: HttpMocker) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

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

<3

@maxi297 maxi297 merged commit 9934979 into master Aug 30, 2024
35 checks passed
@maxi297 maxi297 deleted the oncall-6353/klaviyo-region-can-be-a-number branch August 30, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/klaviyo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants