Skip to content

[BUG] Fusion fails to parse var usage in schema.yml when vars are defined in dbt_project.yml #997

@eliasdefaria

Description

@eliasdefaria

Describe the bug
When vars are defined in the dbt_project.yml like so:

vars:
  build_after_count: null
  build_after_period: null

and used in a schema.yml Fusion fails to parse with the following error:

error: dbt1013: YAML error: invalid type: map, expected i64
  --> models/example/schema.yml:8:18

What version of dbt Fusion is this bug in? (find out by running dbt --version) 2.0.0-preview.50

Is this a discrepancy between the dbt Fusion Engine and dbt Core? Check one.

  • YES
  • NO

To Reproduce

  1. Go to this workspace
  2. Run dbt parse

Expected behavior
Parse succeeds with var values from dbt_project.yml

Operating System and CPU Type (please complete the following information):

  • Mac/Windows/Linux? Mac
  • X86 or ARM? ARM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions