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.13k stars 842 forks source link

[core] use TableWriteApi to replace TableWriteImpl, TableCommitApi to replace TableCommitImpl master #3548

Closed ranxianglei closed 2 weeks ago

ranxianglei commented 2 weeks ago

[core][flink][spark][hive]

Purpose

Linked issue: close #xxx

Tests

API and Format

affect API FileStoreTable:

    @Override
    TableWriteImpl<?> newWrite(String commitUser);
    TableWriteImpl<?> newWrite(String commitUser, ManifestCacheFilter manifestFilter);
    @Override
    TableCommitImpl newCommit(String commitUser);
    TableCommitImpl newCommit(String commitUser, String branchName);

change to

    @Override
    TableWriteApi<?> newWrite(String commitUser);
    TableWriteApi<?> newWrite(String commitUser, ManifestCacheFilter manifestFilter);
    @Override
    TableCommitApi newCommit(String commitUser);
    TableCommitApi newCommit(String commitUser, String branchName);

Documentation

JingsongLi commented 2 weeks ago

We can finish 0.8 first.