Skip to content

mssql-source: remove LEGACY state flag - #33481

Merged
Subodh Chaturvedi (subodh1810) merged 23 commits into
masterfrom
cdk-changes-remove-legacy-state-mssql-source
Dec 19, 2023
Merged

Subodh Chaturvedi (subodh1810) merged 23 commits into
masterfrom
cdk-changes-remove-legacy-state-mssql-source

Conversation

@subodh1810

@subodh1810 Subodh Chaturvedi (subodh1810) commented Dec 14, 2023 •

Copy link
Copy Markdown
Contributor

Issue : #33290
Based on PR #33434

@vercel

vercel Bot commented Dec 14, 2023 •

Copy link
Copy Markdown

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 Dec 19, 2023 4:50pm

@subodh1810
Subodh Chaturvedi (subodh1810) changed the base branch from master to cdk-changes-remove-legacy-state December 14, 2023 06:14
@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added area/connectors Connector related issues CDK Connector Development Kit labels Dec 14, 2023
@github-actions

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.

protected boolean supportsPerStream() {
return true;
}
protected void dropSchemas() {}

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.

remove

# Conflicts:
#	airbyte-cdk/java/airbyte-cdk/core/src/main/resources/version.properties
#	airbyte-cdk/java/airbyte-cdk/db-sources/src/test/java/io/airbyte/cdk/integrations/source/relationaldb/AbstractDbSourceTest.java
testdb.getJdbcUrl(),
Map.of("encrypt", "false"));
Map.of("encrypt", "false"),
CONNECTION_TIME);

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.

you can also pass JdbcConnector.CONNECT_DEFAULT_TIMEOUT. But this is just fine too

container.getJdbcUrl(),
connectionProperties);
connectionProperties,
CONNECTION_TIMEOUT);

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.

I'm surprised the test passes with this change. I expect you'd need to pass new MsSqlSource.getConnectionTimeout(connectionProperties)

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.

I'm surprised the tests are passing. If they're causing you issues, I commented on what's the right value to pass

Base automatically changed from cdk-changes-remove-legacy-state to master December 18, 2023 17:31
# Conflicts:
#	airbyte-cdk/java/airbyte-cdk/core/src/main/resources/version.properties
@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the area/documentation Improvements or additions to documentation label Dec 19, 2023
@subodh1810
Subodh Chaturvedi (subodh1810) deleted the cdk-changes-remove-legacy-state-mssql-source branch December 19, 2023 18:16

This branch was successfully deployed

1 active deployment
Preview — c6a48b11 Deployed Dec 19, 2023 by vercel[bot]
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 connectors/source/mssql

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants