-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 pages: updated all empty objects in Page and Post streams #8267
Conversation
…with references to sub nodes, fixed fields for page stream, added TypeTransformer because some attributes should be explicitly converted to strings. Added schema generation tool
@midavadim |
…book-fix-schemas # Conflicts: # airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py # airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/schemas/page.json
/test connector=connectors/source-facebook-pages
|
/test connector=connectors/source-facebook-pages
|
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.
Could you add a shot draft of schemas' parsing to a bootstrap.md ?
airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py
Show resolved
Hide resolved
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.
It would be nice to put in the description of the PR the link to the parent/related issue #7673 instead of linking to the PR itself
airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-facebook-pages
|
/publish connector=connectors/source-facebook-pages
|
/test connector=connectors/source-facebook-pages
|
Please remember to update the seed spec which causes build failures like https://github.com/airbytehq/airbyte/runs/4399670905?check_suite_focus=true From the PR template:
|
…treams (airbytehq#8267) * updated part of non-defined object properties * Updates schema for Page and Post streams, empty objects are replaced with references to sub nodes, fixed fields for page stream, added TypeTransformer because some attributes should be explicitly converted to strings. Added schema generation tool * updated docs * fixed format issues * enhanced schemas - added datatime format, float is saved as number * updated source version
What
Source Facebook pages: updated all empty objects in Page and Post streams #8267
Issue: #7673
Source Facebook Pages Invalid JSON schema
How
added schema generation based on FB git .
Recommended reading order
airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.sh
airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py
airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/schemas
🚨 User Impact 🚨
Schema changes means that customer will need to refresh scehmas for all existing connections
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
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 hereUpdating 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 hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes