Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
graciegoheen opened this issue Feb 25, 2025 · 0 comments
Open

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

graciegoheen opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request seeds Issues related to dbt's seed functionality

Comments

@graciegoheen
Copy link
Contributor

graciegoheen commented Feb 25, 2025

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
@graciegoheen graciegoheen added enhancement New feature or request triage seeds Issues related to dbt's seed functionality and removed triage labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request seeds Issues related to dbt's seed functionality
Projects
None yet
Development

No branches or pull requests

1 participant