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

allow seeded files to be inserted into specific schemas #561

Closed
jthandy opened this issue Oct 12, 2017 · 3 comments
Closed

allow seeded files to be inserted into specific schemas #561

jthandy opened this issue Oct 12, 2017 · 3 comments
Milestone

Comments

@jthandy
Copy link
Member

jthandy commented Oct 12, 2017

Since 0.9.0 we have had the ability to build models to specific schemas. Enhance dbt seed to allow the same.

@alanmcruickshank
Copy link
Contributor

I'd also love this feature. Would it be best to achieve this by filling out the seed command, or is it worth integrating that functionality as part of run so that we can use the schema functionality there (and bonus point of being able to seed and run concurrently)?

@drewbanin
Copy link
Contributor

@alanmcruickshank our plan is to treat csv files as a special type of model. As such, they could be seeded with dbt run, tested, ref'd, and configured in the dbt_project.yml file. I think dbt seed will stick around, but it will essentially be a wrapper around dbt run with only CSV files selected. This would also permit concurrent CSV loading and model creation.

You can check out or progress on this feature here: #618

drewbanin added a commit that referenced this issue Feb 28, 2018
drewbanin added a commit that referenced this issue Feb 28, 2018
* Make seeds ref'able, provide for seed configuration

Fixes:
 - #106
 - #561

* pep8, s/data/seeds/g

* add tests, truncate log output for seed sql
@drewbanin
Copy link
Contributor

added in 0.9.2. see #668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants