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

fix kotlin warnings in azure-destination, datastore-{bigquery,mongo,postgres} CDK submodules #37479

Conversation

stephane-airbyte
Copy link
Contributor

@stephane-airbyte stephane-airbyte commented Apr 22, 2024

cleaning kotlin warnings in some CDK submodules

Copy link

vercel bot commented Apr 22, 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 22, 2024 6:29pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Apr 22, 2024
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @stephane-airbyte and the rest of your teammates on Graphite Graphite

@stephane-airbyte stephane-airbyte marked this pull request as ready for review April 22, 2024 18:29
@stephane-airbyte stephane-airbyte requested review from a team as code owners April 22, 2024 18:29
@stephane-airbyte stephane-airbyte requested review from postamar and removed request for a team April 22, 2024 18:29
@@ -47,16 +47,18 @@ abstract class AzureBlobStorageStreamCopier(
)
protected val azureStagingFiles: MutableSet<String> = HashSet()

@get:VisibleForTesting val tmpTableName: String = nameTransformer.getTmpTableName(streamName)
@Suppress("DEPRECATION")
@get:VisibleForTesting
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious if these annotations are still relevant in kotlin. I know it's for the benefit of the findbugs linter, but perhaps making these internal instead are the way to go?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

haven't looked at that. Was focusing on kotlin warnings

Copy link
Contributor Author

Choose a reason for hiding this comment

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

those are all over the place. Will need another pass for that :(

.setType(StandardSQLTypeName.STRING)
.build()
}
.collect(Collectors.toList())
Copy link
Contributor

Choose a reason for hiding this comment

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

params.map { ... }.toList()

@stephane-airbyte stephane-airbyte merged commit 88c9030 into master Apr 23, 2024
39 checks passed
@stephane-airbyte stephane-airbyte deleted the stephane/04-22-fix_kotlin_warnings_in_azure-destination_datastore-_bigquery_mongo_postgres_cdk_submodules branch April 23, 2024 14:47
strosek pushed a commit that referenced this pull request Apr 24, 2024
…ostgres} CDK submodules (#37479)

cleaning kotlin warnings in some CDK submodules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants