-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Enable full SAT for the Redshift source #19915
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
✔️ SAT passed. The master branch contains issues in the Status report./test connector=connectors/source-redshift
Build PassedTest summary info:
|
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.
👍
Similar question to BQ - should we document the test instance's details in some way
@@ -4,4 +4,26 @@ connector_image: airbyte/source-redshift:dev | |||
tests: | |||
spec: | |||
- spec_path: "src/test-integration/resources/expected_spec.json" | |||
timeout_seconds: "1200" |
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.
lol, redshift.
/test connector=connectors/source-redshift
Build PassedTest summary info:
|
airbyte-integrations/connectors/source-redshift/acceptance-test-config.yml
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-redshift
|
You can find the SQL scripts in this folder if you need to create or fix the SAT dataset. | ||
For more instructions and information about valid scripts, please check this [doc](https://docs.google.com/document/d/1k5TvxaNhKdr44aJIHWWtLk14Tzd2gbNX-J8YNoTj8u0/edit#heading=h.ls9oiedt9wyy). |
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.
I don't think we should link a Google Doc here, it's not or usual approach to documentation and can break accessibility.
Moreover I would suggest you add the following to the README:
- Share the requirements in terms of Redshift setup to run the tests on it.
- Explain the role of each SQL script.
- Explain technically how to seed the DB.
I think these instructions will differ for each source, so I'm not in favor of a central document. If there are common instructions that can be useful for all database sources, feel free to edit https://github.com/airbytehq/airbyte/blob/master/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md#L1
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.
That is the point, all instructions are the same. The difference is only in the credentials required for the connection and the SQL syntax. It's common for any SQL source.
@evantahler created the doc and said to put all related instructions there.
P.S. If we have a new demand to improve or rework something, it's better to create a new issue and discuss it at the planning meeting with the whole team. No need to hold the integration tests for the source as a hostage of this discussion.
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.
If I'm being asked to be a tie-breaker, in the spirt of "done is better than perfect", I think the google doc is OK for now. We can move the contents into the public repo once we are done with all the Java sources, and we can see how similar/different the instructions will be. Also, the doc currently links to secrets, which is helpful, and shouldn't be in this repo.
/test connector=connectors/source-redshift
Build FailedTest summary info:
|
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.
I updated your branch to get the test working again. Feel free to merge once they pass.
/test connector=connectors/source-redshift
Build PassedTest summary info:
|
What
Enable SAT for the Redshift source
Configured test instances
Found issues
SAT related issues:
configured_catalog_path
, the SAT doesn't take the file by default, but sync all available streams from the source.