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

Mssql source: add schemas during discovery #16002

Conversation

sashaNeshcheret
Copy link
Contributor

What

Describe what the change is solving
It helps to add screenshots if it affects the frontend.

How

Describe the solution

Recommended reading order

  1. x.java
  2. y.python

🚨 User Impact 🚨

Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.

Pre-merge Checklist

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • docs/integrations/README.md
    • airbyte-integrations/builds.md
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub by running the /publish command described here
  • After the connector is published, connector added to connector index as described here
  • Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here
Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub and connector version bumped by running the /publish command described here
Connector Generator
  • Issue acceptance criteria met
  • PR name follows PR naming conventions
  • If adding a new generator, add it to the list of scaffold modules being tested
  • The generator test modules (all connectors with -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
  • Documentation which references the generator is updated as needed

Tests

Unit

Put your unit tests output here.

Integration

Put your integration tests output here.

Acceptance

Put your acceptance tests output here.

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 26, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2934349861
❌ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2934349861
🐛 https://gradle.com/s/ns2xk74ag3hys

Build Failed

Test summary info:

Could not find result summary

@airbytehq airbytehq deleted a comment from github-actions bot Aug 26, 2022
@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 29, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2946558779
❌ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2946558779
🐛 https://gradle.com/s/vdsxwrh5x7z3c

Build Failed

Test summary info:

Could not find result summary

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 30, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2955429972
❌ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2955429972
🐛 https://gradle.com/s/jyq2k3uhx5uwg

Build Failed

Test summary info:

Could not find result summary

…dd-schema-during-discovery' into omneshcheret/8014-mssql-source-add-schema-during-discovery
@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 31, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2962809812
❌ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2962809812
🐛 https://gradle.com/s/lns3slih3olb4

Build Failed

Test summary info:

Could not find result summary

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 31, 2022

/test connector=connectors/source-mssql-strict-encrypt

🕑 connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2962814625
❌ connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2962814625
🐛 https://gradle.com/s/rls2vn4c27ula

Build Failed

Test summary info:

Could not find result summary

@airbytehq airbytehq deleted a comment from github-actions bot Aug 31, 2022
@airbytehq airbytehq deleted a comment from github-actions bot Aug 31, 2022
@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 31, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2963129413
✅ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2963129413
No Python unittests run

Build Passed

Test summary info:

All Passed

@airbytehq airbytehq deleted a comment from github-actions bot Aug 31, 2022
…dd-schema-during-discovery' into omneshcheret/8014-mssql-source-add-schema-during-discovery
@github-actions
Copy link
Contributor

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mssql
  • source-mssql-strict-encrypt

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Aug 31, 2022

/test connector=connectors/source-mssql-strict-encrypt

🕑 connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2963483160
❌ connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2963483160
🐛 https://gradle.com/s/mpo5fg5y7q37a

Build Failed

Test summary info:

Could not find result summary

🕑 connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2963483160
✅ connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2963483160
No Python unittests run

Build Passed

Test summary info:

All Passed

@github-actions
Copy link
Contributor

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mssql
  • source-mssql-strict-encrypt

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Sep 1, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2972392031
✅ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2972392031
No Python unittests run

Build Passed

Test summary info:

All Passed

…ssql-source-add-schema-during-discovery

# Conflicts:
#	airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSource.java
@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2022

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mssql-strict-encrypt
  • source-mssql

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Sep 2, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2977703425
✅ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/2977703425
No Python unittests run

Build Passed

Test summary info:

All Passed

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Sep 2, 2022

/test connector=connectors/source-mssql-strict-encrypt

🕑 connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2977704648
✅ connectors/source-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2977704648
No Python unittests run

Build Passed

Test summary info:

All Passed

@sashaNeshcheret sashaNeshcheret marked this pull request as ready for review September 2, 2022 10:07
@sashaNeshcheret sashaNeshcheret requested a review from a team as a code owner September 2, 2022 10:07
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mssql
  • source-mssql-strict-encrypt

@github-actions github-actions bot added the area/documentation Improvements or additions to documentation label Sep 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mssql-strict-encrypt
  • source-mssql

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mssql
  • source-mssql-strict-encrypt

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Sep 5, 2022

/publish connector=connectors/source-mssql

🕑 Publishing the following connectors:
connectors/source-mssql
https://github.com/airbytehq/airbyte/actions/runs/2992533176


Connector Did it publish? Were definitions generated?
connectors/source-mssql

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@sashaNeshcheret
Copy link
Contributor Author

sashaNeshcheret commented Sep 5, 2022

/publish connector=connectors/source-mssql-strict-encrypt

🕑 Publishing the following connectors:
connectors/source-mssql-strict-encrypt
https://github.com/airbytehq/airbyte/actions/runs/2992934313


Connector Did it publish? Were definitions generated?
connectors/source-mssql-strict-encrypt

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@sashaNeshcheret sashaNeshcheret merged commit be36bb2 into master Sep 5, 2022
@sashaNeshcheret sashaNeshcheret deleted the omneshcheret/8014-mssql-source-add-schema-during-discovery branch September 5, 2022 12:03
robbinhan pushed a commit to robbinhan/airbyte that referenced this pull request Sep 29, 2022
* Mssql source: add schemas during discovery

* Source mssql: temp changes for testing ci

* Source mssql: update expected version for strict encrypt version

* Source mssql: update order in spec

* Source mssql: added filter by requested schemas

* Source mssql: bump versions

* Source mssql: format

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
* Mssql source: add schemas during discovery

* Source mssql: temp changes for testing ci

* Source mssql: update expected version for strict encrypt version

* Source mssql: update order in spec

* Source mssql: added filter by requested schemas

* Source mssql: bump versions

* Source mssql: format

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to specify schemas to MS SQL source connector
4 participants