[source volcano] Decorate stream with cursor field for trigger based CDC stream (#53152)
This commit is contained in:
@@ -123,7 +123,12 @@ class MySqlSourceCdcIntegrationTest {
|
||||
columns = listOf(Field("k", IntFieldType), Field("v", StringFieldType)),
|
||||
primaryKeyColumnIDs = listOf(listOf("k")),
|
||||
)
|
||||
val stream: AirbyteStream = MySqlSourceOperations().createGlobal(discoveredStream)
|
||||
val stream: AirbyteStream =
|
||||
MySqlSourceOperations()
|
||||
.create(
|
||||
MySqlSourceConfigurationFactory().make(config()),
|
||||
discoveredStream,
|
||||
)
|
||||
val configuredStream: ConfiguredAirbyteStream =
|
||||
CatalogHelpers.toDefaultConfiguredStream(stream)
|
||||
.withSyncMode(SyncMode.INCREMENTAL)
|
||||
|
||||
@@ -196,7 +196,12 @@ class MySqlSourceCursorBasedIntegrationTest {
|
||||
columns = listOf(Field("k", IntFieldType), Field("v", StringFieldType)),
|
||||
primaryKeyColumnIDs = listOf(listOf("k")),
|
||||
)
|
||||
val stream: AirbyteStream = MySqlSourceOperations().createGlobal(discoveredStream)
|
||||
val stream: AirbyteStream =
|
||||
MySqlSourceOperations()
|
||||
.create(
|
||||
MySqlSourceConfigurationFactory().make(config),
|
||||
discoveredStream,
|
||||
)
|
||||
val configuredStream: ConfiguredAirbyteStream =
|
||||
CatalogHelpers.toDefaultConfiguredStream(stream)
|
||||
.withSyncMode(SyncMode.INCREMENTAL)
|
||||
|
||||
Reference in New Issue
Block a user