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.22k stars 1.62k forks source link

[Other] Adds coordinated commits-related interfaces and definitions to storage module #3275

Closed LukasRupprecht closed 1 week ago

LukasRupprecht commented 1 week ago

Which Delta project/connector is this regarding?

Description

This PR takes the existing definitions in CommitCoordinatorClient.scala and converts them to java classes/interfaces in the storage module. This is in preparation for replacing the CommitCoordinatorClient in Spark Delta with a generic java-based module that can be implemented in any Delta client.

How was this patch tested?

This PR only copies existing definitions to java classes/interfaces in the storage module. These new classes/interfaces are not in use yet so no tests are required.

Does this PR introduce any user-facing changes?

No