-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Seed blocks #2276
Comments
@drewbanin can you share the purpose for doing this ?
Is the above required so that more than one seed data can be added in one file, for eg:
And does the |
hey @sumanau7 - yep, that's exactly right! These seed tags would be optional, but if they're provided, they would support:
The configs we'd support are indeed the ones you've linked to! |
@drewbanin Adding jinja tags inside csv files might get weird, few issues that i can see of is:
There can be many other benefits also of this approach which of course you would know better. As an alternative may i suggest the following:
Of course you would be the best person to take this call. |
You make some really good points here @sumanau7! I buy it! Let's still move forwards with a seed block, but let's consider separating the CSV file contents from the block itself :) |
@drewbanin Interested to pick this up.
Your thoughts on implementation would help here. |
Came here from #2365. Seems like seed blocks are orthogonal to supporting other seed types? For example, you could configure the seed source format to be either JSON or CSV in the |
@drewbanin I think we should close this, or at least kick it out of v1.0. Seed blocks get us:
The latter is the more compelling of the two by far, and indeed requiring that all seed configs be specified in If we do take this off our roadmap, I think we should reopen #2365, which is compelling in its own right. |
Describe the feature
Let's wrap seeds (optionally) inside of blocks. Example implementation:
Some rough implementation thoughts:
That is certainly out of scope for this change, but a block here gives us a nucleation point to build new and compelling things on top of in the future.
The text was updated successfully, but these errors were encountered: