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

Adapt source-mssql to latest Kotlin converted CDK #36772

Merged
merged 18 commits into from
Apr 4, 2024
Merged

Conversation

rodireich
Copy link
Contributor

@rodireich rodireich commented Apr 2, 2024

Make source-mssql build and test with the latest CDK

Copy link

vercel bot commented Apr 2, 2024

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 Apr 4, 2024 10:18pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues CDK Connector Development Kit connectors/source/mssql labels Apr 2, 2024
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Apr 4, 2024
@rodireich rodireich changed the title Rodi/mssql cdk bump Adapt source-mssql to latest Kotlin converted CDK Apr 4, 2024
@rodireich rodireich marked this pull request as ready for review April 4, 2024 04:53
@rodireich rodireich requested review from a team as code owners April 4, 2024 04:53
@@ -111,7 +111,7 @@ abstract class JdbcDatabase(protected val sourceOperations: JdbcCompatibleSource
* close the returned stream to release the database connection. Otherwise, there will be a
* connection leak.
*
* @param statementCreator create a [PreparedStatement] from a [Connection].
* @paramstatementCreator create a [PreparedStatement] from a [Connection].
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: revert this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Formatter did this 🤷‍♂️
I don't quite know why

unsafeQuery(
{ c: Connection -> getPreparedStatement(sql, params, c) },
{ obj: ResultSet -> obj.metaData }
{ obj: ResultSet -> obj.metaData },
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this extra comma?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is something our formatter does

Copy link
Contributor

@xiaohansong xiaohansong left a comment

Choose a reason for hiding this comment

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

some minor nits need to be cleaned up, otherwise LGTM!

@rodireich
Copy link
Contributor Author

rodireich commented Apr 4, 2024

/publish-java-cdk dry-run=true

🕑 https://github.com/airbytehq/airbyte/actions/runs/8561665844
✅ Successfully published Java CDK version=0.29.1!

@rodireich
Copy link
Contributor Author

rodireich commented Apr 4, 2024

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/8561705161
✅ Successfully published Java CDK version=0.29.1!

@rodireich rodireich merged commit 814d95c into master Apr 4, 2024
29 checks passed
@rodireich rodireich deleted the rodi/mssql-cdk-bump branch April 4, 2024 22:53
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 CDK Connector Development Kit connectors/source/mssql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants