altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

altimate-dbt: compile, execute, and children commands fail with runtime errors

Open suryaiyer95 opened this issue 8 months ago • 0 comments

Three altimate-dbt commands are broken when run against a real dbt project (tested on jaffle_shop_altimate with Snowflake adapter, dbt 1.11.6):

  1. execute --query "..." — Fails with Cannot read properties of undefined (reading 'data'). The command uses dbt show under the hood and appears to fail when parsing the response shape.

  2. compile --model <name> — Same error: Cannot read properties of undefined (reading 'data'). Suggests the same dbt show output parsing bug affects compile too.

  3. children --model <name> — Fails with nodeMetaMap has no entries for <model> even for models that exist and build successfully. The parents command works fine on the same model, suggesting an asymmetry in how the nodeMetaMap is populated for child lookups.

Working commands: info, build, parents, test all work correctly.

Suggested fix: Check dbt show response parsing for execute/compile, and investigate nodeMetaMap population logic for the children command — parents works fine so there is likely an asymmetry in the lookup.


Metadata

Field Value
CLI Version 0.0.0-feat/core-failure-telemetry-202603180740
Platform darwin
Architecture arm64
OS Release 25.2.0
Category bug
Working Directory altimate-telemetry-bundle
Session ID ses_3001bd9fbffeOpvBE4DM9t8DdK

suryaiyer95 avatar Mar 18 '26 07:03 suryaiyer95