Repository navigation
fix(extended-support): remove Select columns steps so account_map columns reach datasets - #1597
Merged
Merged
Conversation
…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
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Fixes #1595. Custom
account_mapcolumns (for exampletribe,squad,environment) can't be selected as taxonomy fields in the Extended Support Cost Projection dashboard, whether passed with--taxonomyor chosen interactively.Root cause
The five Extended Support datasets use the new data preparation format and have a "Select columns 1" (
ProjectStep) after theaccount_mapjoin, with a fixed column list. Onupdate --recursive,Dataset._patch_new_experienceadds the extraaccount_mapcolumns to the input, but not to that list, so they never reachOutputColumns. Taxonomy choices are built fromOutputColumns.It is the only dashboard in the repo with a
ProjectStep. CUDOS and KPI datasets only import and join tables.Change
ProjectStepfrom 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.Testing
account_maphas 10 columns: before the change, all five deployed datasets read the 10 columns but output onlyaccount_idandaccount_name.cid-cmd update --recursive --force --dashboard-id extended-support-cost-projectionwith this definition and--taxonomy "business_unit,o_u,tag_dept,tag_fin_ops"(together with--resource-tags "tag_dept,tag_fin_ops"):account_mapcolumns.tag_deptandtag_fin_ops.Follow-up (not in this PR)
_patch_new_experiencecould also extendProjectStepcolumns, so that datasets customers edit in Amazon Quick (which adds a select step) keep new columns too.