chovy-3012 commented on issue #10088:
URL: https://github.com/apache/seatunnel/issues/10088#issuecomment-6245765185

   This issue has been resolved by #10817 ([Fix][Connector-V2][File] Respect 
custom filename for binary sink), merged on 2026-05-08.
   
   `BinaryWriteStrategy#getOrCreateFilePathBeingWritten` now checks 
`fileSinkConfig.isCustomFilename()` and, when true, calls 
`getOrCreateCustomFilePathBeingWritten` which uses 
`generateFileName(transactionId)` — the same path as CSV/text formats. The 
default behavior (preserving the source relative path) is unchanged when 
`custom_filename` is not set.
   
   One additional constraint introduced by the fix: binary `custom_filename` 
only supports a single source file per sink task; multiple source files will 
throw an exception.
   
   Closing this issue as fixed.


-- 
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