Skip to content

[BUG] previewing 0 query results says there's a query error #524

@graciegoheen

Description

@graciegoheen

Describe the bug

If I preview a model that returns 0 rows, we say there's a query error:

Image

Even though dbt show for this model, shows a table with 0 entries:

Image

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

To reproduce

Preview this model using the VSCE:

select * from {{ ref('my_first_model') }}
where time_column in ('20240101')

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingvscePertains to the VS Code Extension / Language Server

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions