Skip to content

fix(extended-support): remove Select columns steps so account_map columns reach datasets - #1597

Merged
juchavw merged 1 commit into
mainfrom
fix/extended-support-select-columns
Nov 26, 2026
Merged

juchavw merged 1 commit into
mainfrom
fix/extended-support-select-columns

Conversation

@yprikhodko

Copy link
Copy Markdown
Contributor

Problem

Fixes #1595. Custom account_map columns (for example tribe, squad, environment) can't be selected as taxonomy fields in the Extended Support Cost Projection dashboard, whether passed with --taxonomy or chosen interactively.

Root cause

The five Extended Support datasets use the new data preparation format and have a "Select columns 1" (ProjectStep) after the account_map join, with a fixed column list. On update --recursive, Dataset._patch_new_experience adds the extra account_map columns to the input, but not to that list, so they never reach OutputColumns. Taxonomy choices are built from OutputColumns.

It is the only dashboard in the repo with a ProjectStep. CUDOS and KPI datasets only import and join tables.

Change

  • Removed the ProjectStep from all five datasets and pointed each destination at the join step. In the template, the step listed every input column, so nothing it kept is lost, and there are no duplicate column names after the join.
  • No change to views, dashboard definition or version.

Testing

  • In a test account where account_map has 10 columns: before the change, all five deployed datasets read the 10 columns but output only account_id and account_name.
  • cid-cmd update --recursive --force --dashboard-id extended-support-cost-projection with this definition and --taxonomy "business_unit,o_u,tag_dept,tag_fin_ops" (together with --resource-tags "tag_dept,tag_fin_ops"):
    • All five datasets output all 10 account_map columns.
    • The tagging dataset also outputs tag_dept and tag_fin_ops.
    • The dashboard has filter groups and controls for all four taxonomy fields on the four data sheets, and was created without errors.
  • Unit tests: 326 passed.

Follow-up (not in this PR)

_patch_new_experience could also extend ProjectStep columns, so that datasets customers edit in Amazon Quick (which adds a select step) keep new columns too.

…umns reach datasets

The five Extended Support datasets had a ProjectStep after the account_map
join with a fixed column list. cid-cmd adds new account_map columns
(business unit, OU, custom attributes) to the join input on update, but not
to this list, so they were dropped and could not be used as taxonomy fields.
The step projected all template columns anyway, so the destination now reads
from the join directly, as in CUDOS and KPI datasets.

Fixes #1595
@juchavw
juchavw merged commit 1ca61bb into main Nov 26, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extended Support Cost Projection dashboard not showing account_map taxonomy fields

2 participants