delta-io / delta

An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs
https://delta.io
Apache License 2.0
7.62k stars 1.71k forks source link

[Kernel] [CC Refactor #4] Add InMemoryCommitCoordinatorClient and new FileSystemClient APIs #3803

Open scottsand-db opened 4 weeks ago

scottsand-db commented 4 weeks ago

This is a stacked PR. Please view this PR's diff here:

Which Delta project/connector is this regarding?

Description

Add new InMemoryCommitCoordinatorClient used for testing. Note: this is not yet tested. That will come later. This is the exact same client test implementation as in delta-storage, but this doesn't use hadoop or logstore and instead uses the engine APIs. Note that the underlying engine of course needs to correctly implement those APIs.

Adds new FileSystemClient APIs, like getFileStatus, exists, copy

How was this patch tested?

Coming later.

Does this PR introduce any user-facing changes?

Yes. See above.