diff --git a/scio-smb/src/main/java/org/apache/beam/sdk/extensions/smb/SortedBucketTransform.java b/scio-smb/src/main/java/org/apache/beam/sdk/extensions/smb/SortedBucketTransform.java index 776730747e..ff6fe7f7a8 100644 --- a/scio-smb/src/main/java/org/apache/beam/sdk/extensions/smb/SortedBucketTransform.java +++ b/scio-smb/src/main/java/org/apache/beam/sdk/extensions/smb/SortedBucketTransform.java @@ -431,8 +431,8 @@ protected TransformDoFn( SMBFilenamePolicy.FileAssignment fileAssignment, FileOperations fileOperations, Distribution keyGroupSize, - Counter recordsWritten, - Counter predicateFilteredRecordsCount) { + Counter predicateFilteredRecordsCount, + Counter recordsWritten) { this.fileAssignment = fileAssignment; this.fileOperations = fileOperations; this.sources = sources;