-
Notifications
You must be signed in to change notification settings - Fork 4.5k
CDK: fixes for destination-postgres #36619
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
08d1dcd
to
9370fc8
Compare
d88ed75
to
27e139d
Compare
@@ -62,7 +62,7 @@ object JdbcUtils { | |||
JDBCType.VARCHAR, | |||
JDBCType.LONGVARCHAR | |||
) | |||
@JvmField val defaultSourceOperations: JdbcSourceOperations = JdbcSourceOperations() | |||
@JvmStatic val defaultSourceOperations: JdbcSourceOperations = JdbcSourceOperations() |
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.
@jdpgrailsdev This was accessed as a static member in Java, any better way to do than the escape hatch ?
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.
not sure what the escape hatch is
9370fc8
to
cd4a7c2
Compare
@@ -154,8 +154,7 @@ class AirbyteExceptionHandler : Thread.UncaughtExceptionHandler { | |||
} | |||
} | |||
|
|||
@VisibleForTesting | |||
fun addCommonStringsToDeinterpolate() { | |||
internal fun addCommonStringsToDeinterpolate() { |
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.
yes
} | ||
|
||
companion object { | ||
val DEFAULT_CDC_REPLICATION_INITIAL_WAIT: Duration? = Duration.ofSeconds(5) | ||
private val DEFAULT_CDC_REPLICATION_INITIAL_WAIT: Duration = Duration.ofSeconds(5) |
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.
@JvmStatic protected val DEFXXX: Duration = XXX
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.
in java it looks like this getDEFAULT_CDC_REPLICATION_INITIAL_WAIT()
by using above convention. Not sure why. its part of nested ConfigBuilder class's companion not the TestDatabase
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.
what about @JvmField? That should get rid of the getter, no?
cd4a7c2
to
f302124
Compare
95fc6d8
to
860e413
Compare
df6c83e
to
6871baa
Compare
6871baa
to
dada46a
Compare
/publish-java-cdk
|
No description provided.