Skip to content

Commit

Permalink
Bulk Load CDK: Restore additional properties to checkpoint output (#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny-schmidt authored Oct 7, 2024
1 parent 2abba2d commit bff4613
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ data class StreamCheckpoint(
AirbyteStateStats()
.withRecordCount(destinationStats.recordCount.toDouble())
}
it.additionalProperties.forEach { (key, value) ->
it.withAdditionalProperty(key, value)
}
}
return AirbyteMessage().withType(AirbyteMessage.Type.STATE).withState(stateMessage)
}
Expand Down Expand Up @@ -232,6 +235,9 @@ data class GlobalCheckpoint(
AirbyteStateStats()
.withRecordCount(destinationStats.recordCount.toDouble())
}
it.additionalProperties.forEach { (key, value) ->
it.withAdditionalProperty(key, value)
}
}
return AirbyteMessage().withType(AirbyteMessage.Type.STATE).withState(stateMessage)
}
Expand Down

0 comments on commit bff4613

Please sign in to comment.