sqlmesh
sqlmesh copied to clipboard
Can't select upstream models using tag selector
I've a final model called operation_status with the tag run_status
audits (
UNIQUE_COMBINATION_OF_COLUMNS(columns := (username, identifier))
),
tags "run_status"
And I wanted to create and apply plan for the operation_status model and upstreams of it, so I used the below command,
sqlmesh plan lafir --select-model "tag:+run_status"
Which throws me this error,
Error: Expected model name. at index 3: (tag:+run_status)
But, sqlmesh plan lafir --select-model "tag:run_status+" to include the downstreams are working fine. And I verified this.
I followed this guide.
Am I using the tags correctly?
i think this is a bug in the docs, can you try "+tag:run_status"