-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Destination Snowflake: Kotlin convert DestinationHandler #38629
Destination Snowflake: Kotlin convert DestinationHandler #38629
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
.associateTo(LinkedHashMap()) { it.key!! to it.value.type } | ||
// soft-resetting https://github.com/airbytehq/airbyte/pull/31082 | ||
val hasPksWithNonNullConstraint: Boolean = | ||
existingTable.columns.any { pks.contains(it.key) && !it.value.isNullable } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AND table_schema IN (${IntRange(1, streamIds.size).joinToString { "?" }}) | ||
AND table_name IN (${IntRange(1, streamIds.size).joinToString { "?" }}) | ||
|
||
""".trimIndent() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bf9c2f2
to
ddea09b
Compare
754cac2
to
40e1576
Compare
ddea09b
to
3d19907
Compare
40e1576
to
9f42ddf
Compare
3d19907
to
8350775
Compare
What
SnowflakeDestinationHandler
conversion to Kotlin.Few blocks had to be rewritten because auto conversion produced convoluted code and compilation errors.
User Impact
Can this PR be safely reverted and rolled back?