Skip to content

Allow custom model naming #347

Open
Open
@mattppal

Description

@mattppal

Is your feature request related to a problem? Please describe.
Since dbt requires unique model names, our models are named by the convention models/schema/schema__table.sql. When running generate properties, the models are picked up by the wrong names, e.g.

Model locations.locations__county not materialized, did you execute dbt run?. 
Model locations.locations__state not materialized, did you execute dbt run?.

Where the models are actually named

locations.state
locations.county

Describe the solution you'd like
Allow for custom model naming conventions so that model names do not have to equal table names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    reviewed: yesHas undergone reviewtriaged: noHasn't been approved for future implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions