Commits


mwish authored and GitHub committed 050ccee9ff4
GH-38011: [C++][Dataset] Change force close to tend to close on write (#38030) ### Rationale for this change `CloseLargestFile()` will failed to close when non of the file has written any rows. ### What changes are included in this PR? Change `CloseLargestFile()` to `TryCloseLargestFile()`, and not throw error when it cannot find a file that haven't write any rows. ### Are these changes tested? no ### Are there any user-facing changes? bugfix * Closes: #38011 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>