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

feat(source-linkedin-ads): move custom streams to manifest only #48863

Conversation

lazebnyi
Copy link
Collaborator

@lazebnyi lazebnyi commented Dec 9, 2024

What

With new version of CDK streams can be created dynamically via config deduction. So we can move from custom implementation to cdk based.

Fixed: https://github.com/airbytehq/airbyte-internal-issues/issues/10790

How

Deleted all custom method from source and add dynamic streams definition to the manifest. Stream name moved to a higher level, as the record selector now also requires the stream name for instance creation, like the retriever.

Review guide

  1. manifest.yaml
  2. source.py

NOTE: COULD BE REVIEW/TESTED WITH CI AFTER THIS - airbytehq/airbyte-python-cdk#149

User Impact

No

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Dec 9, 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 Jan 9, 2025 9:37pm

@lazebnyi lazebnyi marked this pull request as ready for review December 12, 2024 19:12
@lazebnyi lazebnyi requested a review from maxi297 December 12, 2024 19:17
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Dec 12, 2024
…ifest-only' of github.com:airbytehq/airbyte into lazebnyi/source-linkedin-ads-move-custom-streams-to-manifest-only
Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

Overall looks good to me. I'm eager to remove the custom code. Just a couple of concerns/questions

@lazebnyi
Copy link
Collaborator Author

lazebnyi commented Dec 19, 2024

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (b08e02e)

@lazebnyi lazebnyi requested a review from maxi297 December 19, 2024 15:19
Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

LGTM! One last thing would be to run/analyze a relevant regression test output. I'll still preemptively approve this

@natikgadzhi
Copy link
Contributor

@lazebnyi, folks at Preply asked a lot about Linkedin Ads performance. I think you showed me this PR fixes performance problems, right? /cc @bmcgilli

If so, any blockers here? Can we merge this in pretty please?

@agarctfi
Copy link
Contributor

agarctfi commented Jan 9, 2025

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (9246eed)

@agarctfi
Copy link
Contributor

agarctfi commented Jan 9, 2025

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (d51dc66)

@agarctfi agarctfi enabled auto-merge (squash) January 9, 2025 21:37
@agarctfi agarctfi merged commit 5dfb632 into master Jan 9, 2025
30 checks passed
@agarctfi agarctfi deleted the lazebnyi/source-linkedin-ads-move-custom-streams-to-manifest-only branch January 9, 2025 22:24
@agarctfi agarctfi restored the lazebnyi/source-linkedin-ads-move-custom-streams-to-manifest-only branch January 14, 2025 21:37
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/linkedin-ads
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants