Skip to content

[Source-Mssql] Assess and map all SQLServer supported datatypes to the correct JDBC and Airbyte types for Standard and CDC mode - #31531

Merged
Duy Nguyen (nguyenaiden) merged 13 commits into
masterfrom
mssql-map-datatype
Nov 7, 2023
Merged

Duy Nguyen (nguyenaiden) merged 13 commits into
masterfrom
mssql-map-datatype

Conversation

@nguyenaiden

@nguyenaiden Duy Nguyen (nguyenaiden) commented Oct 18, 2023 •

Copy link
Copy Markdown
Contributor

Description

Addresses ticket #31296
Source-Mssql is currently still missing some SqlServer supported data types. This change revisited all of the available types and map them to its corresponding JDBC types then to the appropriate Airbyte types.

NOTE: This is a breaking change as the following columns will now be discovered as a different type.

Mssql type Current Airbyte Type New Airbyte Type
date string date
datetime string timestamp
smalldatetime string timestamp
datetime2 string timestamp
time string time
datetimeoffset string timestamp with tz

@vercel

vercel Bot commented Oct 18, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2023 0:12am

@github-actions

github-actions Bot commented Oct 18, 2023 •

Copy link
Copy Markdown
Contributor

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.

@airbyte-oss-build-runner

Copy link
Copy Markdown
Collaborator

source-mssql-strict-encrypt test report (commit 3af7b6b801) - ❌

⏲️ Total pipeline duration: 302mn03s

Step Result
Build connector tar ✅
Java Connector Unit Tests ❌
Build source-mssql-strict-encrypt docker image for platform(s) linux/x86_64 ✅
Acceptance tests ❌
Java Connector Integration Tests ✅
Validate metadata for source-mssql-strict-encrypt ✅
Connector version semver 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=source-mssql-strict-encrypt test

@airbyte-oss-build-runner

Copy link
Copy Markdown
Collaborator

source-mssql test report (commit 3af7b6b801) - ❌

⏲️ Total pipeline duration: 13mn32s

Step Result
Build connector tar ✅
Java Connector Unit Tests ❌
Build source-mssql docker image for platform(s) linux/x86_64 ✅
Acceptance tests ✅
Java Connector Integration Tests ✅
Validate metadata for source-mssql ✅
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=source-mssql test

@nguyenaiden Duy Nguyen (nguyenaiden) changed the title [Source-Mssql] Assess and map all SQLServer supported datatypes to the correct JDBC and Airbyte types [Source-Mssql] Assess and map all SQLServer supported datatypes to the correct JDBC and Airbyte types for Standard mode Oct 18, 2023
@nguyenaiden Duy Nguyen (nguyenaiden) changed the title [Source-Mssql] Assess and map all SQLServer supported datatypes to the correct JDBC and Airbyte types for Standard mode [Source-Mssql] Assess and map all SQLServer supported datatypes to the correct JDBC and Airbyte types for Standard and CDC mode Oct 18, 2023
@airbyte-oss-build-runner

Copy link
Copy Markdown
Collaborator

source-mssql-strict-encrypt test report (commit d14688c6d7) - ❌

⏲️ Total pipeline duration: 301mn31s

Step Result
Build connector tar ✅
Java Connector Unit Tests ❌
Build source-mssql-strict-encrypt docker image for platform(s) linux/x86_64 ✅
Acceptance tests ❌
Java Connector Integration Tests ✅
Validate metadata for source-mssql-strict-encrypt ✅
Connector version semver 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=source-mssql-strict-encrypt test

@airbyte-oss-build-runner

Copy link
Copy Markdown
Collaborator

source-mssql test report (commit d14688c6d7) - ❌

⏲️ Total pipeline duration: 13mn36s

Step Result
Build connector tar ✅
Java Connector Unit Tests ❌
Build source-mssql docker image for platform(s) linux/x86_64 ✅
Acceptance tests ✅
Java Connector Integration Tests ✅
Validate metadata for source-mssql ✅
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=source-mssql test

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you check on the failing unit tests?

@nguyenaiden
Duy Nguyen (nguyenaiden) force-pushed the mssql-map-datatype branch 2 times, most recently from 7afd6ef to 47b9162 Compare October 19, 2023 20:47
@airbyte-oss-build-runner

Copy link
Copy Markdown
Collaborator

source-mssql test report (commit 47b9162d27) - ❌

⏲️ Total pipeline duration: 14mn04s

Step Result
Build connector tar ✅
Java Connector Unit Tests ✅
Build source-mssql docker image for platform(s) linux/x86_64 ✅
Acceptance tests ✅
Java Connector Integration Tests ✅
Validate metadata for source-mssql ✅
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=source-mssql test

@airbyte-oss-build-runner

Copy link
Copy Markdown
Collaborator

source-mssql-strict-encrypt test report (commit 2e6248ac2d) - ❌

⏲️ Total pipeline duration: 302mn28s

Step Result
Build connector tar ✅
Java Connector Unit Tests ❌
Build source-mssql-strict-encrypt docker image for platform(s) linux/x86_64 ✅
Acceptance tests ❌
Java Connector Integration Tests ✅
Validate metadata for source-mssql-strict-encrypt ✅
Connector version semver 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=source-mssql-strict-encrypt test

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the upgrade deadline needs to be at least 7 days out. This date is in the past

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is just a placeholder. I'm going to update it to 1 week from the day we send out comms.

@nguyenaiden
Duy Nguyen (nguyenaiden) merged commit 1e59751 into master Nov 7, 2023
@nguyenaiden
Duy Nguyen (nguyenaiden) deleted the mssql-map-datatype branch November 7, 2023 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/connectors Connector related issues area/documentation Improvements or additions to documentation breaking-change Don't merge me unless you are ready. connectors/source/mssql connectors/source/mssql-strict-encrypt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants