[CT-3017] [Feature] Support show
of python model
#8467
Labels
enhancement
New feature or request
Refinement
Maintainer input needed
stale
Issues that have gone stale
Is this your first time submitting a feature request?
Describe the feature
dbt-core added
show
command to help user developing models, however, this command only works for SQL models, when trying to run show selecting a python model, we will get the following error:This is because
dbt-core
still tries to run the python model as a SQL.In order to support this, we likely will have to actually materialize the python model to a temp table, get some results back, and remove the temp table. I am not sure whether the use case here is large enough for dbt-core to support such functionality that is fairly involved.
Describe alternatives you've considered
Not supporting it as python models as sql models works pretty different.
Or we can raise a more clear error saying that show do not support python model
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: