mattcasters opened a new pull request, #7707:
URL: https://github.com/apache/hop/pull/7707

   ## Summary
   
   - Adds a **Binary File Output** transform that writes raw bytes from a 
binary stream field to a file via Hop VFS.
   - Filename is taken from an input field so each row can write a different 
file (typical BLOB export / multi-file extract).
   - Avoids Text File Output encoding/formatting paths that corrupt binary 
content (the workaround discussed in #3219).
   - Includes GUI dialog, unit tests, integration test 
(`main-0107-binary-file-output`), and user documentation.
   
   ## Options
   
   | Option | Description |
   |---|---|
   | Binary field | Field containing raw binary content |
   | Filename field | Field with target path (local or VFS URI) |
   | Create parent folder | Create missing parent directories (default: on) |
   | Overwrite existing file | Overwrite when the target exists (default: on) |
   | Add filename to result | Register written files as result filenames |
   
   ## Test plan
   
   - [x] Unit tests: load/save + byte-faithful writes (including non-UTF-8 
bytes `0x00`/`0x98`/`0xFF`), multi-file per row, parent folder, overwrite, 
failure paths
   - [x] Integration test: 
`integration-tests/transforms/main-0107-binary-file-output.hwf`
   - [ ] CI / full integration suite on PR
   
   Fixes #3219


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