Skip to content

Request:generate sources: Quote columns that use SQL keywords (such as GROUP) #318

Description

@jaredx435k2d0

Is your feature request related to a problem? Please describe.
Sometimes a column in a table may have the name GROUP, ORDER, START, SCHEMA, TABLE, etc.
generate sources doesn't quote these columns, causing issues when dbt is run

Describe the solution you'd like
I'd like generate sources to automatically quote column names when they conflict with database keywords

Describe alternatives you've considered
Manually modifying the templates with huge if x or x conditions to add quotes if needed

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