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: remove LEGACY state flag #33481

Merged
merged 23 commits into from Dec 19, 2023

Conversation

subodh1810
Copy link
Contributor

@subodh1810 subodh1810 commented Dec 14, 2023

Issue : #33290
Based on PR #33434

@subodh1810 subodh1810 self-assigned this Dec 14, 2023
@subodh1810 subodh1810 requested review from a team as code owners December 14, 2023 06:13
Copy link

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

@subodh1810 subodh1810 changed the base branch from master to cdk-changes-remove-legacy-state December 14, 2023 06:14
@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues CDK Connector Development Kit labels Dec 14, 2023
Copy link
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.

@octavia-squidington-iii octavia-squidington-iii removed the CDK Connector Development Kit label Dec 14, 2023
@octavia-squidington-iv octavia-squidington-iv requested a review from a team December 14, 2023 10:06
protected boolean supportsPerStream() {
return true;
}
protected void dropSchemas() {}
Copy link
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
@@ -147,7 +144,8 @@ protected void setup() {
testdb.getPassword(),
testdb.getDatabaseDriver().getDriverClassName(),
testdb.getJdbcUrl(),
Map.of("encrypt", "false"));
Map.of("encrypt", "false"),
CONNECTION_TIME);
Copy link
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

@@ -25,7 +28,8 @@ protected void testCreatingDataSourceWithConnectionTimeoutSetBelowDefault() {
container.getPassword(),
container.getDriverClassName(),
container.getJdbcUrl(),
connectionProperties);
connectionProperties,
CONNECTION_TIMEOUT);
Copy link
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
Contributor

@stephane-airbyte stephane-airbyte left a comment

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 added the area/documentation Improvements or additions to documentation label Dec 19, 2023
@subodh1810 subodh1810 merged commit 7c9394f into master Dec 19, 2023
25 of 27 checks passed
@subodh1810 subodh1810 deleted the cdk-changes-remove-legacy-state-mssql-source branch December 19, 2023 18:16
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
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.

None yet

3 participants