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

Destination BigQuery + Snowflake : Disable type and dedupe step controlled by flag in Connector spec #31686

Merged
merged 25 commits into from
Oct 26, 2023

Conversation

gisripa
Copy link
Contributor

@gisripa gisripa commented Oct 20, 2023

What

Adds ability to disable generating the final Typed+Deduped tables through a flag in ConnectorSpecification.

closes #30454

Other minor fixes

closes #11122 - Copied contents from https://github.com/airbytehq/airbyte-platform/blob/v0.43.2/airbyte-webapp/docs/HowTo-ConnectionSpecification.md
closes #31720 - Pending GSM credentials updates. local tests pass with minor fixes

BigQuery UI

bq_skip_td

Snowflake UI

snowflake_skip_td

@gisripa gisripa requested a review from a team as a code owner October 20, 2023 23:01
@vercel
Copy link

vercel bot commented Oct 20, 2023

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 Oct 26, 2023 8:33pm

@gisripa gisripa marked this pull request as draft October 20, 2023 23:01
@octavia-squidington-iii octavia-squidington-iii added the area/connectors Connector related issues label Oct 20, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2023

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan.
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • Migration guide updated in docs/integrations/<source or destination>/<name>-migrations.md with an entry for the new version, if the version is a breaking change. See migration guide example
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

"type": "boolean",
"default": false,
"description": "Disable Writing Final Tables. Warning! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions",
"title": "Disable Final Tables. (Warning! Unstable option; Columns in raw table schema might change between versions)",
Copy link
Contributor

Choose a reason for hiding this comment

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

@Hesperide - is this message a good enough deterrent?

Comment on lines +7 to +11
While iterating on your specification, you can preview what it will look like in the UI in realtime by following the instructions below.
1. Open the `ConnectorForm` preview component in our deployed Storybook at: https://components.airbyte.dev/?path=/story/connector-connectorform--preview
2. Press `raw` on the `connectionSpecification` property, so you will be able to paste a JSON structured string
3. Set the string you want to preview the UI for
4. When submitting the form you can see a preview of the values in the "Actions" tab
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice addition! Be sure to share this at our next team demos, or make a loom showing this off.

Copy link
Contributor Author

@gisripa gisripa Oct 23, 2023

Choose a reason for hiding this comment

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

zero credit to me, just resurrected contents from a deleted file and inlined them :D

@gisripa gisripa changed the title [WIP] Destination BigQuery + Snowflake : Disable type and dedupe step controlled by flag in Connector spec Destination BigQuery + Snowflake : Disable type and dedupe step controlled by flag in Connector spec Oct 24, 2023
@gisripa gisripa marked this pull request as ready for review October 24, 2023 03:31
@gisripa gisripa requested a review from a team October 24, 2023 03:34
@gisripa gisripa self-assigned this Oct 24, 2023
@airbyte-oss-build-runner
Copy link
Collaborator

destination-bigquery test report (commit e005987ae1) - ❌

⏲️ Total pipeline duration: 11mn29s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-bigquery docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-bigquery
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-bigquery test

@airbyte-oss-build-runner
Copy link
Collaborator

destination-snowflake test report (commit e005987ae1) - ❌

⏲️ Total pipeline duration: 07mn45s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-snowflake docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-snowflake
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-snowflake test

@airbyte-oss-build-runner
Copy link
Collaborator

destination-snowflake test report (commit 34e72b97c9) - ❌

⏲️ Total pipeline duration: 10mn25s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-snowflake docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-snowflake
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-snowflake test

@airbyte-oss-build-runner
Copy link
Collaborator

destination-bigquery test report (commit 34e72b97c9) - ❌

⏲️ Total pipeline duration: 07mn18s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-bigquery docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-bigquery
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-bigquery test

@gisripa gisripa changed the base branch from master to edgao/skip_raw_dedup October 24, 2023 18:58
Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

had some minor comments but generally looks good! very annoyed by how github has decided to show this diff but not sure how to fix it without doing actual git stuff

@octavia-squidington-iv octavia-squidington-iv requested a review from a team October 24, 2023 21:35
@airbyte-oss-build-runner
Copy link
Collaborator

destination-bigquery test report (commit db3d1169db) - ❌

⏲️ Total pipeline duration: 09mn39s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-bigquery docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-bigquery
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-bigquery test

@airbyte-oss-build-runner
Copy link
Collaborator

destination-snowflake test report (commit db3d1169db) - ❌

⏲️ Total pipeline duration: 07mn30s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-snowflake docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-snowflake
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-snowflake test

@gisripa gisripa changed the base branch from edgao/skip_raw_dedup to master October 25, 2023 02:31
@airbyte-oss-build-runner
Copy link
Collaborator

destination-snowflake test report (commit af9623b8c4) - ❌

⏲️ Total pipeline duration: 08mn42s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-snowflake docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-snowflake
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-snowflake test

@airbyte-oss-build-runner
Copy link
Collaborator

destination-bigquery test report (commit af9623b8c4) - ❌

⏲️ Total pipeline duration: 08mn27s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-bigquery docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-bigquery
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-bigquery test

@gisripa gisripa removed the request for review from a team October 25, 2023 22:36
gisripa and others added 21 commits October 26, 2023 12:33
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
Signed-off-by: Gireesh Sreepathi <[email protected]>
@airbyte-oss-build-runner
Copy link
Collaborator

destination-bigquery test report (commit 6698ae592a) - ✅

⏲️ Total pipeline duration: 10mn50s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-bigquery docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-bigquery
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-bigquery test

@airbyte-oss-build-runner
Copy link
Collaborator

destination-snowflake test report (commit 6698ae592a) - ✅

⏲️ Total pipeline duration: 08mn59s

Step Result
Build connector tar
Java Connector Unit Tests
Build destination-snowflake docker image for platform(s) linux/amd64
Java Connector Integration Tests
Validate metadata for destination-snowflake
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-snowflake test

@gisripa gisripa merged commit 3e76471 into master Oct 26, 2023
15 checks passed
@gisripa gisripa deleted the gireesh/30454 branch October 26, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment