Skip to content

[Feature] make header row optional for dbt seeds #11334

@graciegoheen

Description

@graciegoheen

Describe the feature

If I've configured my seed's column names in a yml file, I don't want to also keep a header row up-to-date in my csv seed file.

seeds:
  - name: my_seed
    columns:
      - name: country_code
        data_type: varchar(2)
      - name: country_name
        data_type: varchar(32)
country_code,country_name
US,United States
CA,Canada
GB,United Kingdom

Instead, I should be able to configure my seed to not need a header row if I've configured my column names in yml already.

seeds:
  - name: my_seed
    config:
      header: false
    columns:
      - name: country_code
        data_type: varchar(2)
      - name: country_name
        data_type: varchar(32)
US,United States
CA,Canada
GB,United Kingdom

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestseedsIssues related to dbt's seed functionalitystaleIssues that have gone stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions