forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-43837: [Go][IPC] Consolidate StreamWriter and FileWriter, en…
…suring that EOS indicator is written in file (apache#43890) ### Rationale for this change Fixes: apache#43837 Much of the logic between the ipc stream writer and the file writer was split. This PR changes the file writer so that it uses a stream writer internally, ensuring that a valid stream is embedded within the file. **TODO** - [x] Remove @ bkietz's commits ### What changes are included in this PR? - Refactor `fileWriter` to embed `streamWriter` and defer relevant methods - Add test ### Are these changes tested? Yes ### Are there any user-facing changes? Go-generated IPC files will contain the EOS indicator * GitHub Issue: apache#43837 Authored-by: Joel Lubinitsky <[email protected]> Signed-off-by: Joel Lubinitsky <[email protected]>
- Loading branch information
1 parent
c4ae823
commit 9aede70
Showing
3 changed files
with
65 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters