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-3172] [Regression] tag: selection raises error if project has semantic models defined #8749

Closed
2 tasks done
jtcohen6 opened this issue Sep 29, 2023 · 0 comments · Fixed by #8750
Closed
2 tasks done
Assignees
Labels
backport 1.6.latest bug Something isn't working Highest Severity critical bug that must be resolved immediately regression

Comments

@jtcohen6
Copy link
Contributor

jtcohen6 commented Sep 29, 2023

Is this a regression in a recent version of dbt-core?

  • I believe this is a regression in dbt-core functionality
  • I have searched the existing issues, and I could not find an existing issue for this regression

Current Behavior

tag: selection raises an error if the project has semantic_models defined

Expected/Previous Behavior

tag: selection should work

Steps To Reproduce

  1. Create a project with semantic models
  2. Use tag: selection (even if selecting other resources)
  3. See this error:
    if any(fnmatch(tag, selector) for tag in real_node.tags):
AttributeError: 'SemanticModel' object has no attribute 'tags'

Relevant log output

No response

Environment

- OS:
- Python:
- dbt (working version):
- dbt (regression version):

Which database adapter are you using with dbt?

No response

Additional Context

Cause: #8589
Backport PR: #8724

Need tests for tag: selection with semantic models.

@jtcohen6 jtcohen6 added bug Something isn't working regression labels Sep 29, 2023
@github-actions github-actions bot changed the title [Regression] tag: selection raises error if project has semantic models defined [CT-3172] [Regression] tag: selection raises error if project has semantic models defined Sep 29, 2023
@graciegoheen graciegoheen added the Highest Severity critical bug that must be resolved immediately label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.6.latest bug Something isn't working Highest Severity critical bug that must be resolved immediately regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants