SFDO-Community-Sprints / Snowfakery-Recipe-Templates

Repo for all contributed Snowfakery recipes, maintained by Data Gen Toolkit team.
BSD 3-Clause "New" or "Revised" License
27 stars 8 forks source link

Best Practices: Where to define number of records #76

Open allisonletts opened 2 years ago

allisonletts commented 2 years ago

We like the idea of defining the relative numbers of records (aka the "skew") within the recipe itself, and the overall number of records in the command line.

This may conflict with current recipes as well as current guidance. Can we have a conversation about it here?

samanthashain commented 2 years ago

So this makes me think that

cci task run generate_and_load_from_yaml -o generator_yaml snowfakery_samples/npsp/Account_Soft_Credit_npsp.recipe.yml -o num_records 10 -o num_records_tablename Contact --org dev

is the right model for the argument conventions we want to replicate. Correct, @prescod?

allisonletts commented 2 years ago

that looks right to me, fwiw.