Skip to content

Commit 6197254

Browse files
Destination S3-V2: Bug Fix: File xfer uses part size for part, not file size
1 parent e2edfd7 commit 6197254

File tree

1 file changed

+1
-1
lines changed
  • airbyte-cdk/bulk/toolkits/load-object-storage/src/main/kotlin/io/airbyte/cdk/load/write/object_storage

1 file changed

+1
-1
lines changed

airbyte-cdk/bulk/toolkits/load-object-storage/src/main/kotlin/io/airbyte/cdk/load/write/object_storage/FilePartAccumulator.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class FilePartAccumulator(
4444

4545
while (true) {
4646
val bytePart =
47-
ByteArray(ObjectStorageUploadConfiguration.DEFAULT_FILE_SIZE_BYTES.toInt())
47+
ByteArray(ObjectStorageUploadConfiguration.DEFAULT_PART_SIZE_BYTES.toInt())
4848
val read = fileInputStream.read(bytePart)
4949

5050
if (read == -1) {

0 commit comments

Comments
 (0)