FinOps-Open-Cost-and-Usage-Spec / FOCUS_Spec

The Unifying Specification for Cloud Billing Data
https://focus.finops.org
Other
169 stars 39 forks source link

Should names have a default value? #105

Open flanakin opened 1 year ago

flanakin commented 1 year ago

Description

Columns that represent some logical entity (e.g., billing account, sub account) can have an ID and a name. Some providers may not support a display name for these entities, which could result in null values in the name columns. When a practitioner groups by the name, the only logical option for them is to use the ID in place of the name. Should we set the name to the ID when a name doesn't exist to save that effort from every practitioner every time they report on name columns?

Proposed approach

Use the ID for the name when a name is not avaialble.

Github issue or Reference

Applies to all name columns that have a corresponding ID (e.g., BillingAccountName, SubAccountName).

Context

Reasons to default to the ID:

Reasons to leave NULL:

marc-perreaut commented 8 months ago

Use the ID for the name when a name is not available.

I believe it makes sense, but it's data transformation, so it should be done:

hrishikeshsardar commented 7 months ago

I am in support of the proposal, use the ID in place of the name when provider does not support display name in some scenarios.