-
Notifications
You must be signed in to change notification settings - Fork 4.5k
🚨🚨 Source LinkedIn Ads: update primary key for Analytics Streams #36927
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f6efdba
Source LinkedIn Ads: update a primary key
artem1205 fab502d
Source LinkedIn Ads: bump version & docs update
artem1205 d2734e8
Source LinkedIn Ads: remove old property
artem1205 b8d3be2
Source LinkedIn Ads: add pivoted property to each request
artem1205 76518ce
Source LinkedIn Ads: fix test
artem1205 f76bc38
Source LinkedIn Ads: fix test
artem1205 1635a19
Source LinkedIn Ads: fix test
artem1205 c04dfd3
Source LinkedIn Ads: update expected records
artem1205 fcd1800
Source LinkedIn Ads: add migration guide
artem1205 7b32c98
Source LinkedIn Ads: format
artem1205 1cdd1d7
Source LinkedIn Ads: format
artem1205 a3aee28
Source LinkedIn Ads: format
artem1205 925388f
Source LinkedIn Ads: update docs
artem1205 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
28 changes: 14 additions & 14 deletions
28
airbyte-integrations/connectors/source-linkedin-ads/integration_tests/expected_records.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
version = "0.8.0" | ||
version = "1.0.0" | ||
name = "source-linkedin-ads" | ||
description = "Source implementation for Linkedin Ads." | ||
authors = [ "Airbyte <[email protected]>",] | ||
|
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# LinkedIn Ads Migration Guide | ||
|
||
## Upgrading to 1.0.0 | ||
|
||
Version 1.0.0 introduces changes in primary key for all *-analytics streams (including custom ones). | ||
- "ad_campaign_analytics" | ||
- "ad_creative_analytics" | ||
- "ad_impression_device_analytics" | ||
- "ad_member_company_size_analytics" | ||
- "ad_member_country_analytics" | ||
- "ad_member_job_function_analytics" | ||
- "ad_member_job_title_analytics" | ||
- "ad_member_industry_analytics" | ||
- "ad_member_seniority_analytics" | ||
- "ad_member_region_analytics" | ||
- "ad_member_company_analytics" | ||
|
||
## Migration Steps | ||
|
||
### Refresh affected schemas and reset data | ||
|
||
1. Select **Connections** in the main nav bar. | ||
1. Select the connection(s) affected by the update. | ||
2. Select the **Replication** tab. | ||
1. Select **Refresh source schema**. | ||
2. Select **OK**. | ||
:::note | ||
Any detected schema changes will be listed for your review. | ||
::: | ||
3. Select **Save changes** at the bottom of the page. | ||
1. Ensure the **Reset affected streams** option is checked. | ||
:::note | ||
Depending on destination type you may not be prompted to reset your data. | ||
::: | ||
4. Select **Save connection**. | ||
:::note | ||
This will reset the data in your destination and initiate a fresh sync. | ||
::: | ||
|
||
For more information on resetting your data in Airbyte, see [this page](https://docs.airbyte.com/operator-guides/reset). |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add the stream names here as you did in the metadata file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated