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

[Storage] Add Javadoc for CoordinatedCommitsUtils::getCoordinatorName #3711

Closed sumeet-db closed 1 month ago

sumeet-db commented 1 month ago

Which Delta project/connector is this regarding?

Description

This is a simple cleanup PR for improving documentation of getCoordinatorName

  1. Return an Optional to indicate the method may return null if no coordinator is set
  2. Rename the method from getCoordinator -> getCoordinatorName

How was this patch tested?

Build

Does this PR introduce any user-facing changes?

No