apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.1k stars 834 forks source link

[core] Should not ignore return value of FileIO.writeFileUtf8 #3639

Closed JingsongLi closed 1 day ago

JingsongLi commented 2 days ago

Purpose

Old writeFileUtf8 should only be used by commit, others should throw exception when file existing. So this PR introduces a new writeFile.

Tests

API and Format

Documentation