Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CT-3530] Presence of saved_queries breaks lineage viz #486

Closed
dbeatty10 opened this issue Jan 8, 2024 · 0 comments · Fixed by dbt-labs/dbt-core#10168 or #510
Closed

[CT-3530] Presence of saved_queries breaks lineage viz #486

dbeatty10 opened this issue Jan 8, 2024 · 0 comments · Fixed by dbt-labs/dbt-core#10168 or #510
Assignees
Labels
bug Something isn't working

Comments

@dbeatty10
Copy link
Contributor

Describe the bug

The lineage visualization fails to render when including saved_queries within models/_properties.yml.

Steps To Reproduce

semantic_models:
  - name: my_semantic_model
    model: ref('metricflow_time_spine')
    # model: ref('my_model')

metrics:
  - name: my_metric
    label: my_metric
    type: derived
    type_params:
      expr: revenue - cost

saved_queries:
  - name: p0_booking
    description: Booking-related metrics that are of the highest priority.
    query_params:
      metrics:
        - my_metric
dbt docs generate
dbt docs serve

Expected behavior

I expected to see the entire lineage instead of a blank lineage:

image

Screenshots and log output

image image

The output of dbt --version:

Core:
  - installed: 1.7.4
  - latest:    1.7.4 - Up to date!

Plugins:
  - databricks: 1.7.3 - Up to date!
  - bigquery:   1.7.2 - Up to date!
  - snowflake:  1.7.1 - Up to date!
  - redshift:   1.7.1 - Up to date!
  - postgres:   1.7.4 - Up to date!
  - duckdb:     1.7.0 - Up to date!
  - spark:      1.7.1 - Up to date!

Additional context

Add any other context about the problem here.

@dbeatty10 dbeatty10 added bug Something isn't working triage labels Jan 8, 2024
@github-actions github-actions bot changed the title Presence of saved_queries breaks lineage viz [CT-3530] Presence of saved_queries breaks lineage viz Jan 8, 2024
@dbeatty10 dbeatty10 removed the triage label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants