2020-10-23 00:19:39 -04:00
|
|
|
## worked on so far
|
|
|
|
|
|
|
|
setup
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------------------------------
|
2020-10-22 23:35:12 -04:00
|
|
|
the basic assumption is a single sales table is available to work with that has a lot of related data that came from master data tables originally.
|
|
|
|
the goal then is to break that back apart to whatever degree is necessary.
|
2020-10-22 01:22:40 -04:00
|
|
|
|
2020-10-27 23:12:10 -04:00
|
|
|
* _**run**_ `schema.sql` and `perd.sql` to setup basic tables
|
2020-10-27 23:47:21 -04:00
|
|
|
* create a table fc.live as copied from target (will need to have columns `version` and `iter` added if not existing)
|
2020-10-22 23:36:45 -04:00
|
|
|
* _**run**_ `target_info.sql` to populate the `fc.target_meta` table that holds all the columns and their roles
|
2020-10-22 23:35:12 -04:00
|
|
|
* fill in flags on table `fc.target_meta` to show how the data is related
|
2020-10-22 23:36:45 -04:00
|
|
|
* _**run**_ `build_master_tables.sql` to generate foreign key based master data
|
2020-10-23 00:19:39 -04:00
|
|
|
|
|
|
|
|
|
|
|
baseline
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
* copy history and increment by year to form a baseline
|
|
|
|
* need to be able to handle order/ship dates generically
|
2020-10-27 23:47:21 -04:00
|
|
|
* need to build the baseline sql
|