-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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-facebook-marketing: allow configuration of page_size #12171
🎉 source-facebook-marketing: allow configuration of page_size #12171
Conversation
667b693
to
cda4567
Compare
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.
Is there any way that the connector can automatically adjust page size based on this error? This option will be fairly confusing for users otherwise as were exposing an implementation detail
@sherifnada 100 is a magic number here, I don't think there is any explicit reason to use 100 as a fixed number (let me know if there is).
|
To put the issue into perspective, I tried using this branch in our system and we ended up having to reduce the page_size to 25 to get it working without an error, that's 1/4 of the current page_size. |
@sherifnada I'm wondering if there is any kind of configuration that can be used when interacting with the connectors through Docker, but is not user-facing? |
@mdibaiee this sparked some healthy internal discussion -- I think the right go forward here is to merge your contribution (made some comments on the copy). We'll create a couple of follow-up issues to:
|
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.
airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/spec.py
Outdated
Show resolved
Hide resolved
Also @mdibaiee I'm curious -- how do you plan on setting this value in Estuary? Are you expecting it to be an operational fix e.g: if it starts failing for a user, an operator would go and reset this for the user? Or are you exposing it to the end user directly and expecting them to fix on their own? |
@sherifnada At the moment, a mix of both: we operate some deployments ourselves manually at the moment, but once our UI launches, this will be exposed to users along with all other parameters. We also understand and share the concern here that this option is not something we want the user to care about, but at this point the work required to hide this away seems more than we can commit to at the moment. |
e301e40
to
57a1c4b
Compare
I ran the unit tests and they pass. The integration tests however, do not pass with my personal credentials, but it appears to me that it's because there are certain expectations about the data in the account (e.g. certain number of deleted stuff). The logs for integration tests also include my credentials so I didn't paste it. |
/test connector=source-facebook-marketing
|
I'll send a fix for that integration test failure, I know what it is. |
/test connector=source-facebook-marketing
|
@sherifnada can you check @mdibaiee changes and see if we can merge it? |
ccd1a17
to
a3ceeb2
Compare
/test connector=source-facebook-marketing
|
/publish connector=connectors/source-facebook-marketing auto-bump-version=false
|
* source-facebook-marketing: allow configuration of page_size * source-facebook-marketing: fix integration test for page_size conf * fix: bin are added * chore: update seed file Co-authored-by: Harshith Mullapudi <harshithmullapudi@gmail.com>
What
How
Recommended reading order
🚨 User Impact 🚨
No, the default stays 100.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereTests
Unit
Put your unit tests output here.
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.