-
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
Get default configured catalog from discover command #8232
Get default configured catalog from discover command #8232
Conversation
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.
One thing i'm not sure about: do we currently require the developer to opt out explicitly of syncing some streams?
for example if there are streams A and B and the user provides a configured catalog containing only A, does the test fail? IMO it should unless the user explicitly configured an option saying that they are skipping the stream, as well as providing a reason
@sherifnada No, it will not fail, in that case. As I understand, your requirements are
|
Correct. The idea is that this test should verify data is coming from all streams except if the developer explicitly opts out. |
@sherifnada |
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.
separate issue for the comment is good w me 👍🏼
/publish connector=bases/source-acceptance-test
|
* Get default configured catalog from discover command * remove default path in configured_catalog_path in config.py * formatted code for conftest.py * Changed version of SAT and update CHANGELOG.md Co-authored-by: Auganbay <[email protected]>
What
By default SAT should take configured catalog from discovery command and use the default configuration.
How
if
configured_catalog_path
is not provided then generateConfiguredAirbyteCatalog
fromdiscovered_catalog
fixture (result of discover command) in configured_catalog_fixture.Remove default value from
configured_catalog_path
in config.pyRecommended reading order
x.java
y.python
🚨 User Impact 🚨
Are there any breaking changes? If yes, please make sure to include it here and in any changelogs with the 🚨🚨 emoji
What is the end result perceived by the user?
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