class TrinoCluster
Trino cluster the Baleia catalog-store plugin boots against. The plugin JOINs trino_catalog_registry onto trino_clusters.name at boot; without the matching row, the coordinator loads ZERO catalogs silently.
Public Class Methods
Source
# File app/models/trino_cluster.rb, line 18 def self.current_name pick(:name).presence || ENV["TRINO_CLUSTER_NAME"].presence end
The name of the cluster in use, or nil when no cluster has been registered and no env override is configured.
@return [String, nil]