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 MSSQL: make Azure Synapse Compatibility In Test #18294

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

chte
Copy link
Contributor

@chte chte commented Oct 21, 2022

What

Describe what the change is solving
Make MSSQL integration test compatible with Azure Synapse

It helps to add screenshots if it affects the frontend.
image

How

Describe the solution

For Azure DWH a primary key cannot be enforced in Azure DWH. I am only a first day user, I don't entirely know the framework and ideally this should be it's own connector and not lumped together with all MSSQL version.

and this is not tested if non Azure DWH SQL support this constrants

🚨 User Impact 🚨

You can not configure Azure Synapse DWH as a destination

Pre-merge Checklist

I am only a first day user, I don't entirely know the framework and ideally this should be it's own connector and not lumped together with all MSSQL versions. This solution might break other versions of MSSQL and is not tested.

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

@chte chte requested a review from a team as a code owner October 21, 2022 11:40
@CLAassistant
Copy link

CLAassistant commented Oct 21, 2022

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the area/connectors Connector related issues label Oct 21, 2022
@sajarin sajarin added team/destinations Destinations team's backlog team/db-dw-sources Backlog for Database and Data Warehouse Sources team and removed bounty labels Oct 21, 2022
@sajarin
Copy link
Contributor

sajarin commented Oct 21, 2022

@chte thanks for the PR. Can you sign the CLA?

@marcosmarxm
Copy link
Member

Hello 👋, first thank you for this amazing contribution.

We really appreciate the effort you've made to improve the project.
We ask you patience for the code review. Last month our team was focused on Hacktoberfest event and that probably left some PR without the proper feedback. And this week, due to the Thanksgiving US Holiday, most our team is out of office with their families. Another important piece of information why code won't be merge this week is: as a safety measure the core team has decided to freeze merging code to main branch to keep the release stable. Next week we'll return to you with the proper code review and update the status of your contribution.

If you have any questions feel free to send me a message in Slack!
Thanks!

@marcosmarxm
Copy link
Member

marcosmarxm commented Dec 2, 2022

/test connector=connectors/destination-mssql

🕑 connectors/destination-mssql https://github.com/airbytehq/airbyte/actions/runs/3605594554
❌ connectors/destination-mssql https://github.com/airbytehq/airbyte/actions/runs/3605594554
🐛 https://gradle.com/s/ap7yuqkjxn2lo

Build Failed

Test summary info:

Could not find result summary

@marcosmarxm marcosmarxm changed the title Azure Synapse Compatibility In Test Destination MSSQL: make Azure Synapse Compatibility In Test Dec 15, 2022
@marcosmarxm
Copy link
Member

Hello 👋:skin-tone-2: and thank you for your contribution!

Airbyte has instituted a code freeze between 19 and 30 December, to make sure there are no disruptions during the holidays.
Because of this, reviewing and merging your contribution may take longer than usual.
We apologize for the delay, but we want everyone to have a quiet and happy holiday.

If you have any questions or need further clarification, please don't hesitate to ping via Slack.

@subodh1810 subodh1810 requested review from a team and removed request for a team February 6, 2023 08:58
@marcosmarxm
Copy link
Member

@grishick This is a small change to MSSL. Can it be added to destination team backlog to review and validate it?

@sh4sh sh4sh removed the team/db-dw-sources Backlog for Database and Data Warehouse Sources team label Mar 7, 2023
@grishick
Copy link
Contributor

grishick commented Mar 8, 2023

PR to run CI: #23851

@grishick
Copy link
Contributor

grishick commented Mar 9, 2023

Integration tests for destionation-mssql are broken and I verified other CI checks on this PR

@grishick grishick merged commit 740d629 into airbytehq:master Mar 9, 2023
danielduckworth pushed a commit to danielduckworth/airbyte that referenced this pull request Mar 13, 2023
Integration tests for destionation-mssql are broken and I verified other CI checks on this PR: airbytehq#23851
@edgao
Copy link
Contributor

edgao commented Mar 15, 2023

@grishick I think this might not work for non-dwh destinations - #24077 (comment)

so we might need to make a new connector. Or at least add a config flag for "this is running in azure dwh and needs special handling"

base-normalization integration tests are also failing for mssql, with Incorrect syntax near 'ENFORCED'. I'd expect that the destination-mssql tests are seeing the same error, which was hidden behind some other (unfortunately expected) test failures

either way - this change hasn't been published yet, so not an urgent thing to solve

adriennevermorel pushed a commit to adriennevermorel/airbyte that referenced this pull request Mar 17, 2023
Integration tests for destionation-mssql are broken and I verified other CI checks on this PR: airbytehq#23851
@grishick
Copy link
Contributor

yep. We have to revert this change and make a new connector for Azure Synapse

grishick added a commit that referenced this pull request Mar 22, 2023
grishick added a commit that referenced this pull request Mar 22, 2023
erohmensing pushed a commit that referenced this pull request Mar 22, 2023
erohmensing pushed a commit that referenced this pull request Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants