tejasiyer-dev opened a new pull request, #41469:
URL: https://github.com/apache/beam/pull/41469

   
   ### Changes
   - **`PTransformMatchers.writeWithRunnerDeterminedSharding()`:** Returns 
`false` when `WriteFilesTranslation.isAutoSharded` is enabled so 
runner-determined sharding overrides do not trigger on autosharded writes.
   - **`DataflowRunner.StreamingShardedWriteFactory`:** Reuses the original 
`WriteFiles` transform via `original.withNumShards(numShards)` instead of 
reconstructing a fresh `WriteFiles.to(sink)` from scratch (which dropped 
options such as `maxNumWritersPerBundle`, `evictWritersWhenFull`, 
`skipIfEmpty`, `shardingFunction`, `batchSize`, `batchSizeBytes`, 
`batchMaxBufferingDuration`, and `badRecordErrorHandler`).
   - Added unit tests in `PTransformMatchersTest` and `DataflowRunnerTest`, 
plus a `CHANGES.md` Bugfixes entry.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to