├── .gitignore ├── .idx └── dev.nix ├── LICENSE.md ├── README.md ├── audits └── .gitkeep ├── config.py ├── dag.mmd ├── generate_oriented_data_model.py ├── macros ├── .gitkeep └── __init__.py ├── models ├── .gitkeep ├── _blueprint_generators.py ├── _blueprint_utils.py ├── blueprints │ ├── bridges │ │ ├── bridge__adventure_works__address_types.yml │ │ ├── bridge__adventure_works__addresses.yml │ │ ├── bridge__adventure_works__bill_of_materials.yml │ │ ├── bridge__adventure_works__business_entity_addresses.yml │ │ ├── bridge__adventure_works__business_entity_contacts.yml │ │ ├── bridge__adventure_works__contact_types.yml │ │ ├── bridge__adventure_works__country_regions.yml │ │ ├── bridge__adventure_works__credit_cards.yml │ │ ├── bridge__adventure_works__cultures.yml │ │ ├── bridge__adventure_works__currencies.yml │ │ ├── bridge__adventure_works__currency_rates.yml │ │ ├── bridge__adventure_works__customers.yml │ │ ├── bridge__adventure_works__departments.yml │ │ ├── bridge__adventure_works__email_addresses.yml │ │ ├── bridge__adventure_works__employee_department_histories.yml │ │ ├── bridge__adventure_works__employee_pay_histories.yml │ │ ├── bridge__adventure_works__employees.yml │ │ ├── bridge__adventure_works__illustrations.yml │ │ ├── bridge__adventure_works__job_candidates.yml │ │ ├── bridge__adventure_works__locations.yml │ │ ├── bridge__adventure_works__person_phones.yml │ │ ├── bridge__adventure_works__persons.yml │ │ ├── bridge__adventure_works__phone_number_types.yml │ │ ├── bridge__adventure_works__product_categories.yml │ │ ├── bridge__adventure_works__product_cost_histories.yml │ │ ├── bridge__adventure_works__product_descriptions.yml │ │ ├── bridge__adventure_works__product_inventories.yml │ │ ├── bridge__adventure_works__product_list_price_histories.yml │ │ ├── bridge__adventure_works__product_model_illustrations.yml │ │ ├── bridge__adventure_works__product_models.yml │ │ ├── bridge__adventure_works__product_photos.yml │ │ ├── bridge__adventure_works__product_reviews.yml │ │ ├── bridge__adventure_works__product_subcategories.yml │ │ ├── bridge__adventure_works__product_vendors.yml │ │ ├── bridge__adventure_works__products.yml │ │ ├── bridge__adventure_works__purchase_order_details.yml │ │ ├── bridge__adventure_works__purchase_order_headers.yml │ │ ├── bridge__adventure_works__sales_order_details.yml │ │ ├── bridge__adventure_works__sales_order_headers.yml │ │ ├── bridge__adventure_works__sales_person_quota_histories.yml │ │ ├── bridge__adventure_works__sales_persons.yml │ │ ├── bridge__adventure_works__sales_reasons.yml │ │ ├── bridge__adventure_works__sales_tax_rates.yml │ │ ├── bridge__adventure_works__sales_territories.yml │ │ ├── bridge__adventure_works__sales_territory_histories.yml │ │ ├── bridge__adventure_works__scrap_reasons.yml │ │ ├── bridge__adventure_works__shifts.yml │ │ ├── bridge__adventure_works__ship_methods.yml │ │ ├── bridge__adventure_works__shopping_cart_items.yml │ │ ├── bridge__adventure_works__special_offers.yml │ │ ├── bridge__adventure_works__state_provinces.yml │ │ ├── bridge__adventure_works__stores.yml │ │ ├── bridge__adventure_works__transaction_histories.yml │ │ ├── bridge__adventure_works__transaction_history_archives.yml │ │ ├── bridge__adventure_works__unit_measures.yml │ │ ├── bridge__adventure_works__vendors.yml │ │ ├── bridge__adventure_works__work_order_routings.yml │ │ └── bridge__adventure_works__work_orders.yml │ ├── events │ │ ├── event__adventure_works__address_types.yml │ │ ├── event__adventure_works__addresses.yml │ │ ├── event__adventure_works__bill_of_materials.yml │ │ ├── event__adventure_works__business_entity_addresses.yml │ │ ├── event__adventure_works__business_entity_contacts.yml │ │ ├── event__adventure_works__contact_types.yml │ │ ├── event__adventure_works__country_regions.yml │ │ ├── event__adventure_works__credit_cards.yml │ │ ├── event__adventure_works__cultures.yml │ │ ├── event__adventure_works__currencies.yml │ │ ├── event__adventure_works__currency_rates.yml │ │ ├── event__adventure_works__customers.yml │ │ ├── event__adventure_works__departments.yml │ │ ├── event__adventure_works__email_addresses.yml │ │ ├── event__adventure_works__employee_department_histories.yml │ │ ├── event__adventure_works__employee_pay_histories.yml │ │ ├── event__adventure_works__employees.yml │ │ ├── event__adventure_works__illustrations.yml │ │ ├── event__adventure_works__job_candidates.yml │ │ ├── event__adventure_works__locations.yml │ │ ├── event__adventure_works__person_phones.yml │ │ ├── event__adventure_works__persons.yml │ │ ├── event__adventure_works__phone_number_types.yml │ │ ├── event__adventure_works__product_categories.yml │ │ ├── event__adventure_works__product_cost_histories.yml │ │ ├── event__adventure_works__product_descriptions.yml │ │ ├── event__adventure_works__product_inventories.yml │ │ ├── event__adventure_works__product_list_price_histories.yml │ │ ├── event__adventure_works__product_model_illustrations.yml │ │ ├── event__adventure_works__product_models.yml │ │ ├── event__adventure_works__product_photos.yml │ │ ├── event__adventure_works__product_reviews.yml │ │ ├── event__adventure_works__product_subcategories.yml │ │ ├── event__adventure_works__product_vendors.yml │ │ ├── event__adventure_works__products.yml │ │ ├── event__adventure_works__purchase_order_details.yml │ │ ├── event__adventure_works__purchase_order_headers.yml │ │ ├── event__adventure_works__sales_order_details.yml │ │ ├── event__adventure_works__sales_order_headers.yml │ │ ├── event__adventure_works__sales_person_quota_histories.yml │ │ ├── event__adventure_works__sales_persons.yml │ │ ├── event__adventure_works__sales_reasons.yml │ │ ├── event__adventure_works__sales_tax_rates.yml │ │ ├── event__adventure_works__sales_territories.yml │ │ ├── event__adventure_works__sales_territory_histories.yml │ │ ├── event__adventure_works__scrap_reasons.yml │ │ ├── event__adventure_works__shifts.yml │ │ ├── event__adventure_works__ship_methods.yml │ │ ├── event__adventure_works__shopping_cart_items.yml │ │ ├── event__adventure_works__special_offers.yml │ │ ├── event__adventure_works__state_provinces.yml │ │ ├── event__adventure_works__stores.yml │ │ ├── event__adventure_works__transaction_histories.yml │ │ ├── event__adventure_works__transaction_history_archives.yml │ │ ├── event__adventure_works__unit_measures.yml │ │ ├── event__adventure_works__vendors.yml │ │ ├── event__adventure_works__work_order_routings.yml │ │ └── event__adventure_works__work_orders.yml │ ├── hook │ │ ├── frame__adventure_works__address_types.yml │ │ ├── frame__adventure_works__addresses.yml │ │ ├── frame__adventure_works__bill_of_materials.yml │ │ ├── frame__adventure_works__business_entity_addresses.yml │ │ ├── frame__adventure_works__business_entity_contacts.yml │ │ ├── frame__adventure_works__contact_types.yml │ │ ├── frame__adventure_works__country_regions.yml │ │ ├── frame__adventure_works__credit_cards.yml │ │ ├── frame__adventure_works__cultures.yml │ │ ├── frame__adventure_works__currencies.yml │ │ ├── frame__adventure_works__currency_rates.yml │ │ ├── frame__adventure_works__customers.yml │ │ ├── frame__adventure_works__departments.yml │ │ ├── frame__adventure_works__email_addresses.yml │ │ ├── frame__adventure_works__employee_department_histories.yml │ │ ├── frame__adventure_works__employee_pay_histories.yml │ │ ├── frame__adventure_works__employees.yml │ │ ├── frame__adventure_works__illustrations.yml │ │ ├── frame__adventure_works__job_candidates.yml │ │ ├── frame__adventure_works__locations.yml │ │ ├── frame__adventure_works__person_phones.yml │ │ ├── frame__adventure_works__persons.yml │ │ ├── frame__adventure_works__phone_number_types.yml │ │ ├── frame__adventure_works__product_categories.yml │ │ ├── frame__adventure_works__product_cost_histories.yml │ │ ├── frame__adventure_works__product_descriptions.yml │ │ ├── frame__adventure_works__product_inventories.yml │ │ ├── frame__adventure_works__product_list_price_histories.yml │ │ ├── frame__adventure_works__product_model_illustrations.yml │ │ ├── frame__adventure_works__product_models.yml │ │ ├── frame__adventure_works__product_photos.yml │ │ ├── frame__adventure_works__product_reviews.yml │ │ ├── frame__adventure_works__product_subcategories.yml │ │ ├── frame__adventure_works__product_vendors.yml │ │ ├── frame__adventure_works__products.yml │ │ ├── frame__adventure_works__purchase_order_details.yml │ │ ├── frame__adventure_works__purchase_order_headers.yml │ │ ├── frame__adventure_works__sales_order_details.yml │ │ ├── frame__adventure_works__sales_order_headers.yml │ │ ├── frame__adventure_works__sales_person_quota_histories.yml │ │ ├── frame__adventure_works__sales_persons.yml │ │ ├── frame__adventure_works__sales_reasons.yml │ │ ├── frame__adventure_works__sales_tax_rates.yml │ │ ├── frame__adventure_works__sales_territories.yml │ │ ├── frame__adventure_works__sales_territory_histories.yml │ │ ├── frame__adventure_works__scrap_reasons.yml │ │ ├── frame__adventure_works__shifts.yml │ │ ├── frame__adventure_works__ship_methods.yml │ │ ├── frame__adventure_works__shopping_cart_items.yml │ │ ├── frame__adventure_works__special_offers.yml │ │ ├── frame__adventure_works__state_provinces.yml │ │ ├── frame__adventure_works__stores.yml │ │ ├── frame__adventure_works__transaction_histories.yml │ │ ├── frame__adventure_works__transaction_history_archives.yml │ │ ├── frame__adventure_works__unit_measures.yml │ │ ├── frame__adventure_works__vendors.yml │ │ ├── frame__adventure_works__work_order_routings.yml │ │ └── frame__adventure_works__work_orders.yml │ ├── peripherals │ │ ├── adventure_works__address_types.yml │ │ ├── adventure_works__addresses.yml │ │ ├── adventure_works__bill_of_materials.yml │ │ ├── adventure_works__business_entity_addresses.yml │ │ ├── adventure_works__business_entity_contacts.yml │ │ ├── adventure_works__contact_types.yml │ │ ├── adventure_works__country_regions.yml │ │ ├── adventure_works__credit_cards.yml │ │ ├── adventure_works__cultures.yml │ │ ├── adventure_works__currencies.yml │ │ ├── adventure_works__currency_rates.yml │ │ ├── adventure_works__customers.yml │ │ ├── adventure_works__departments.yml │ │ ├── adventure_works__email_addresses.yml │ │ ├── adventure_works__employee_department_histories.yml │ │ ├── adventure_works__employee_pay_histories.yml │ │ ├── adventure_works__employees.yml │ │ ├── adventure_works__illustrations.yml │ │ ├── adventure_works__job_candidates.yml │ │ ├── adventure_works__locations.yml │ │ ├── adventure_works__person_phones.yml │ │ ├── adventure_works__persons.yml │ │ ├── adventure_works__phone_number_types.yml │ │ ├── adventure_works__product_categories.yml │ │ ├── adventure_works__product_cost_histories.yml │ │ ├── adventure_works__product_descriptions.yml │ │ ├── adventure_works__product_inventories.yml │ │ ├── adventure_works__product_list_price_histories.yml │ │ ├── adventure_works__product_model_illustrations.yml │ │ ├── adventure_works__product_models.yml │ │ ├── adventure_works__product_photos.yml │ │ ├── adventure_works__product_reviews.yml │ │ ├── adventure_works__product_subcategories.yml │ │ ├── adventure_works__product_vendors.yml │ │ ├── adventure_works__products.yml │ │ ├── adventure_works__purchase_order_details.yml │ │ ├── adventure_works__purchase_order_headers.yml │ │ ├── adventure_works__sales_order_details.yml │ │ ├── adventure_works__sales_order_headers.yml │ │ ├── adventure_works__sales_person_quota_histories.yml │ │ ├── adventure_works__sales_persons.yml │ │ ├── adventure_works__sales_reasons.yml │ │ ├── adventure_works__sales_tax_rates.yml │ │ ├── adventure_works__sales_territories.yml │ │ ├── adventure_works__sales_territory_histories.yml │ │ ├── adventure_works__scrap_reasons.yml │ │ ├── adventure_works__shifts.yml │ │ ├── adventure_works__ship_methods.yml │ │ ├── adventure_works__shopping_cart_items.yml │ │ ├── adventure_works__special_offers.yml │ │ ├── adventure_works__state_provinces.yml │ │ ├── adventure_works__stores.yml │ │ ├── adventure_works__transaction_histories.yml │ │ ├── adventure_works__transaction_history_archives.yml │ │ ├── adventure_works__unit_measures.yml │ │ ├── adventure_works__vendors.yml │ │ ├── adventure_works__work_order_routings.yml │ │ └── adventure_works__work_orders.yml │ └── raw │ │ ├── raw__adventure_works__address_types.yml │ │ ├── raw__adventure_works__addresses.yml │ │ ├── raw__adventure_works__bill_of_materials.yml │ │ ├── raw__adventure_works__business_entity_addresses.yml │ │ ├── raw__adventure_works__business_entity_contacts.yml │ │ ├── raw__adventure_works__contact_types.yml │ │ ├── raw__adventure_works__country_regions.yml │ │ ├── raw__adventure_works__credit_cards.yml │ │ ├── raw__adventure_works__cultures.yml │ │ ├── raw__adventure_works__currencies.yml │ │ ├── raw__adventure_works__currency_rates.yml │ │ ├── raw__adventure_works__customers.yml │ │ ├── raw__adventure_works__departments.yml │ │ ├── raw__adventure_works__email_addresses.yml │ │ ├── raw__adventure_works__employee_department_histories.yml │ │ ├── raw__adventure_works__employee_pay_histories.yml │ │ ├── raw__adventure_works__employees.yml │ │ ├── raw__adventure_works__illustrations.yml │ │ ├── raw__adventure_works__job_candidates.yml │ │ ├── raw__adventure_works__locations.yml │ │ ├── raw__adventure_works__person_phones.yml │ │ ├── raw__adventure_works__persons.yml │ │ ├── raw__adventure_works__phone_number_types.yml │ │ ├── raw__adventure_works__product_categories.yml │ │ ├── raw__adventure_works__product_cost_histories.yml │ │ ├── raw__adventure_works__product_descriptions.yml │ │ ├── raw__adventure_works__product_inventories.yml │ │ ├── raw__adventure_works__product_list_price_histories.yml │ │ ├── raw__adventure_works__product_model_illustrations.yml │ │ ├── raw__adventure_works__product_models.yml │ │ ├── raw__adventure_works__product_photos.yml │ │ ├── raw__adventure_works__product_reviews.yml │ │ ├── raw__adventure_works__product_subcategories.yml │ │ ├── raw__adventure_works__product_vendors.yml │ │ ├── raw__adventure_works__products.yml │ │ ├── raw__adventure_works__purchase_order_details.yml │ │ ├── raw__adventure_works__purchase_order_headers.yml │ │ ├── raw__adventure_works__sales_order_details.yml │ │ ├── raw__adventure_works__sales_order_headers.yml │ │ ├── raw__adventure_works__sales_person_quota_histories.yml │ │ ├── raw__adventure_works__sales_persons.yml │ │ ├── raw__adventure_works__sales_reasons.yml │ │ ├── raw__adventure_works__sales_tax_rates.yml │ │ ├── raw__adventure_works__sales_territories.yml │ │ ├── raw__adventure_works__sales_territory_histories.yml │ │ ├── raw__adventure_works__scrap_reasons.yml │ │ ├── raw__adventure_works__shifts.yml │ │ ├── raw__adventure_works__ship_methods.yml │ │ ├── raw__adventure_works__shopping_cart_items.yml │ │ ├── raw__adventure_works__special_offers.yml │ │ ├── raw__adventure_works__state_provinces.yml │ │ ├── raw__adventure_works__stores.yml │ │ ├── raw__adventure_works__transaction_histories.yml │ │ ├── raw__adventure_works__transaction_history_archives.yml │ │ ├── raw__adventure_works__unit_measures.yml │ │ ├── raw__adventure_works__vendors.yml │ │ ├── raw__adventure_works__work_order_routings.yml │ │ └── raw__adventure_works__work_orders.yml ├── dab__hook__blueprint.py ├── dar__calendar.sql ├── dar__peripheral__blueprint.py ├── dar__puppini_bridge__as_of.py ├── dar__staging__bridges__blueprint.py ├── dar__staging__events__blueprint.py ├── das__raw__blueprint.py ├── hook__core_business_concepts.yml ├── hook__frames.yml └── raw_schema.yaml ├── pipelines ├── adventure_works.py ├── duckdb_to_iceberg.py └── schemas │ ├── export │ ├── adventure_works.schema.yaml │ ├── duckdb_dab.schema.yaml │ └── duckdb_dar.schema.yaml │ └── import │ ├── adventure_works.schema.yaml │ ├── duckdb_dab.schema.yaml │ └── duckdb_dar.schema.yaml ├── pyproject.toml ├── queries ├── analyze_row_count_changes.py ├── dab.frame__adventure_works__sales_order_details.sql ├── dab.frame__adventure_works__sales_order_details__refactored.sql ├── explain_analyze_frame.txt ├── explode_date_range.sql ├── shipping_kpis.sql └── total_rows.py ├── seeds └── .gitkeep ├── sqlmesh_dag_to_mermaid.py ├── streamlit └── dashboard.py ├── tests └── .gitkeep └── uv.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # ignore secrets, virtual environments and typical python compilation artifacts 2 | secrets.toml 3 | # ignore basic python artifacts 4 | .env 5 | **/__pycache__/ 6 | **/*.py[cod] 7 | **/*$py.class 8 | # ignore duckdb 9 | *.duckdb 10 | *.wal 11 | logs/ 12 | .cache/ 13 | .venv/ 14 | lakehouse/ 15 | *.parquet -------------------------------------------------------------------------------- /.idx/dev.nix: -------------------------------------------------------------------------------- 1 | # To learn more about how to use Nix to configure your environment 2 | # see: https://developers.google.com/idx/guides/customize-idx-env 3 | { pkgs, ... }: { 4 | # Which nixpkgs channel to use. 5 | channel = "stable-24.05"; # or "unstable" 6 | 7 | # Use https://search.nixos.org/packages to find packages 8 | packages = [ 9 | # pkgs.go 10 | # pkgs.python311 11 | # pkgs.python311Packages.pip 12 | # pkgs.nodejs_20 13 | # pkgs.nodePackages.nodemon 14 | ]; 15 | 16 | # Sets environment variables in the workspace 17 | env = {}; 18 | idx = { 19 | # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id" 20 | extensions = [ 21 | # "vscodevim.vim" 22 | ]; 23 | 24 | # Enable previews 25 | previews = { 26 | enable = true; 27 | previews = { 28 | # web = { 29 | # # Example: run "npm run dev" with PORT set to IDX's defined port for previews, 30 | # # and show it in IDX's web preview panel 31 | # command = ["npm" "run" "dev"]; 32 | # manager = "web"; 33 | # env = { 34 | # # Environment variables to set for your server 35 | # PORT = "$PORT"; 36 | # }; 37 | # }; 38 | }; 39 | }; 40 | 41 | # Workspace lifecycle hooks 42 | workspace = { 43 | # Runs when a workspace is first created 44 | onCreate = { 45 | # Example: install JS dependencies from NPM 46 | # npm-install = "npm install"; 47 | }; 48 | # Runs when the workspace is (re)started 49 | onStart = { 50 | # Example: start a background task to watch and re-build backend code 51 | # watch-backend = "npm run watch-backend"; 52 | }; 53 | }; 54 | }; 55 | } 56 | -------------------------------------------------------------------------------- /audits/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattiasthalen/adventure-works/55f8b6b3c8bf7d44106da12b7469c0f4b0eb5f10/audits/.gitkeep -------------------------------------------------------------------------------- /dag.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | classDef bronze fill:#CD7F32,color:black 3 | classDef silver fill:#C0C0C0,color:black 4 | classDef gold fill:#FFD700,color:black 5 | 6 | subgraph das["db.das"] 7 | raw(["Raw Tables [58]"]):::bronze 8 | end 9 | 10 | subgraph dab["db.dab"] 11 | hook(["HOOK Frames [58]"]):::silver 12 | end 13 | 14 | subgraph dar_stg["db.dar__staging"] 15 | bridges(["Puppini Bridges [58]"]):::silver 16 | event_bridges(["Event Bridges [58]"]):::silver 17 | end 18 | 19 | subgraph dar["db.dar"] 20 | bridge_union(["Puppini Bridge Union [1]"]):::gold 21 | peripheral(["Peripheral Tables [58]"]):::gold 22 | end 23 | 24 | raw --> hook --> bridges --> event_bridges --> bridge_union 25 | hook --> event_bridges 26 | hook --> peripheral 27 | 28 | legend_das["DAS = Data According To System"] --> 29 | legend_dab["DAB = Data According To Business"] ----> 30 | legend_dar["DAR = Data According To Requirements"] -------------------------------------------------------------------------------- /macros/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattiasthalen/adventure-works/55f8b6b3c8bf7d44106da12b7469c0f4b0eb5f10/macros/.gitkeep -------------------------------------------------------------------------------- /macros/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattiasthalen/adventure-works/55f8b6b3c8bf7d44106da12b7469c0f4b0eb5f10/macros/__init__.py -------------------------------------------------------------------------------- /models/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattiasthalen/adventure-works/55f8b6b3c8bf7d44106da12b7469c0f4b0eb5f10/models/.gitkeep -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__address_types.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__address_type: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__address_type: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__address_type: Hook to the concept reference, with qualifier address_type 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__address_type: Point-in-time hook to the concept reference, 15 | with qualifier address_type 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: address_type 24 | description: Puppini bridge for the peripheral table adventure_works__address_types 25 | hook: _hook__reference__address_type 26 | name: bridge__adventure_works__address_types 27 | peripheral: adventure_works__address_types 28 | primary_hook: _pit_hook__reference__address_type 29 | source_name: frame__adventure_works__address_types 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__addresses.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__address: binary 3 | _pit_hook__address: binary 4 | _pit_hook__bridge: binary 5 | _pit_hook__reference__country_region: binary 6 | _pit_hook__reference__state_province: binary 7 | _pit_hook__territory__sales: binary 8 | bridge__is_current_record: boolean 9 | bridge__record_loaded_at: timestamp 10 | bridge__record_updated_at: timestamp 11 | bridge__record_valid_from: timestamp 12 | bridge__record_valid_to: timestamp 13 | peripheral: text 14 | column_descriptions: 15 | _hook__address: Hook to the concept address 16 | _pit_hook__address: Point-in-time hook to the concept address 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 19 | with qualifier country_region 20 | _pit_hook__reference__state_province: Point-in-time hook to the concept reference, 21 | with qualifier state_province 22 | _pit_hook__territory__sales: Point-in-time hook to the concept territory, with qualifier 23 | sales 24 | bridge__is_current_record: Flag indicating if this is the current valid version 25 | of the bridge record. 26 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 27 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 28 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 29 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 30 | peripheral: Name of the peripheral table the bridge record belongs to. 31 | column_prefix: address 32 | dependencies: 33 | bridge__adventure_works__state_provinces: 34 | inherited_hooks: 35 | - _pit_hook__reference__state_province 36 | - _pit_hook__reference__country_region 37 | - _pit_hook__territory__sales 38 | primary_hook: _hook__reference__state_province 39 | description: Puppini bridge for the peripheral table adventure_works__addresses 40 | hook: _hook__address 41 | name: bridge__adventure_works__addresses 42 | peripheral: adventure_works__addresses 43 | primary_hook: _pit_hook__address 44 | source_name: frame__adventure_works__addresses 45 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__bill_of_materials.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__bill_of_materials: binary 3 | _pit_hook__bill_of_materials: binary 4 | _pit_hook__bridge: binary 5 | _pit_hook__reference__unit_measure: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__bill_of_materials: Hook to the concept bill_of_materials 14 | _pit_hook__bill_of_materials: Point-in-time hook to the concept bill_of_materials 15 | _pit_hook__bridge: Point-in-time hook for the bridge record. 16 | _pit_hook__reference__unit_measure: Point-in-time hook to the concept reference, 17 | with qualifier unit_measure 18 | bridge__is_current_record: Flag indicating if this is the current valid version 19 | of the bridge record. 20 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 21 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 22 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 23 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 24 | peripheral: Name of the peripheral table the bridge record belongs to. 25 | column_prefix: bill_of_material 26 | dependencies: 27 | bridge__adventure_works__unit_measures: 28 | inherited_hooks: 29 | - _pit_hook__reference__unit_measure 30 | primary_hook: _hook__reference__unit_measure 31 | description: Puppini bridge for the peripheral table adventure_works__bill_of_materials 32 | hook: _hook__bill_of_materials 33 | name: bridge__adventure_works__bill_of_materials 34 | peripheral: adventure_works__bill_of_materials 35 | primary_hook: _pit_hook__bill_of_materials 36 | source_name: frame__adventure_works__bill_of_materials 37 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__business_entity_contacts.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__business_entity: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__business_entity: binary 5 | _pit_hook__reference__contact_type: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__business_entity: Hook to the concept business_entity 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__business_entity: Point-in-time hook to the concept business_entity 16 | _pit_hook__reference__contact_type: Point-in-time hook to the concept reference, 17 | with qualifier contact_type 18 | bridge__is_current_record: Flag indicating if this is the current valid version 19 | of the bridge record. 20 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 21 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 22 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 23 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 24 | peripheral: Name of the peripheral table the bridge record belongs to. 25 | column_prefix: business_entity_contact 26 | dependencies: 27 | bridge__adventure_works__contact_types: 28 | inherited_hooks: 29 | - _pit_hook__reference__contact_type 30 | primary_hook: _hook__reference__contact_type 31 | description: Puppini bridge for the peripheral table adventure_works__business_entity_contacts 32 | hook: _hook__business_entity 33 | name: bridge__adventure_works__business_entity_contacts 34 | peripheral: adventure_works__business_entity_contacts 35 | primary_hook: _pit_hook__business_entity 36 | source_name: frame__adventure_works__business_entity_contacts 37 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__contact_types.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__contact_type: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__contact_type: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__contact_type: Hook to the concept reference, with qualifier contact_type 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__contact_type: Point-in-time hook to the concept reference, 15 | with qualifier contact_type 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: contact_type 24 | description: Puppini bridge for the peripheral table adventure_works__contact_types 25 | hook: _hook__reference__contact_type 26 | name: bridge__adventure_works__contact_types 27 | peripheral: adventure_works__contact_types 28 | primary_hook: _pit_hook__reference__contact_type 29 | source_name: frame__adventure_works__contact_types 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__country_regions.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__country_region: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__country_region: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__country_region: Hook to the concept reference, with qualifier 13 | country_region 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 16 | with qualifier country_region 17 | bridge__is_current_record: Flag indicating if this is the current valid version 18 | of the bridge record. 19 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 20 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 21 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 22 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 23 | peripheral: Name of the peripheral table the bridge record belongs to. 24 | column_prefix: country_region 25 | description: Puppini bridge for the peripheral table adventure_works__country_regions 26 | hook: _hook__reference__country_region 27 | name: bridge__adventure_works__country_regions 28 | peripheral: adventure_works__country_regions 29 | primary_hook: _pit_hook__reference__country_region 30 | source_name: frame__adventure_works__country_regions 31 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__credit_cards.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__credit_card: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__credit_card: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__credit_card: Hook to the concept credit_card 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__credit_card: Point-in-time hook to the concept credit_card 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: credit_card 23 | description: Puppini bridge for the peripheral table adventure_works__credit_cards 24 | hook: _hook__credit_card 25 | name: bridge__adventure_works__credit_cards 26 | peripheral: adventure_works__credit_cards 27 | primary_hook: _pit_hook__credit_card 28 | source_name: frame__adventure_works__credit_cards 29 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__cultures.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__culture: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__culture: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__culture: Hook to the concept reference, with qualifier culture 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__culture: Point-in-time hook to the concept reference, with 15 | qualifier culture 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: culture 24 | description: Puppini bridge for the peripheral table adventure_works__cultures 25 | hook: _hook__reference__culture 26 | name: bridge__adventure_works__cultures 27 | peripheral: adventure_works__cultures 28 | primary_hook: _pit_hook__reference__culture 29 | source_name: frame__adventure_works__cultures 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__currencies.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__currency: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__currency: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__currency: Hook to the concept currency 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__currency: Point-in-time hook to the concept currency 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: currency 23 | description: Puppini bridge for the peripheral table adventure_works__currencies 24 | hook: _hook__currency 25 | name: bridge__adventure_works__currencies 26 | peripheral: adventure_works__currencies 27 | primary_hook: _pit_hook__currency 28 | source_name: frame__adventure_works__currencies 29 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__currency_rates.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__currency_rate: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__currency_rate: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__currency_rate: Hook to the concept currency_rate 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__currency_rate: Point-in-time hook to the concept currency_rate 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: currency_rate 23 | description: Puppini bridge for the peripheral table adventure_works__currency_rates 24 | hook: _hook__currency_rate 25 | name: bridge__adventure_works__currency_rates 26 | peripheral: adventure_works__currency_rates 27 | primary_hook: _pit_hook__currency_rate 28 | source_name: frame__adventure_works__currency_rates 29 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__departments.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__department: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__department: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__department: Hook to the concept department 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__department: Point-in-time hook to the concept department 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: department 23 | description: Puppini bridge for the peripheral table adventure_works__departments 24 | hook: _hook__department 25 | name: bridge__adventure_works__departments 26 | peripheral: adventure_works__departments 27 | primary_hook: _pit_hook__department 28 | source_name: frame__adventure_works__departments 29 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__email_addresses.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__individual: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__individual: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__person__individual: Hook to the concept person, with qualifier individual 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__person__individual: Point-in-time hook to the concept person, with qualifier 15 | individual 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: email_address 24 | description: Puppini bridge for the peripheral table adventure_works__email_addresses 25 | hook: _hook__person__individual 26 | name: bridge__adventure_works__email_addresses 27 | peripheral: adventure_works__email_addresses 28 | primary_hook: _pit_hook__person__individual 29 | source_name: frame__adventure_works__email_addresses 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__employee_pay_histories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__employee_pay_history: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__employee_pay_history: binary 5 | _pit_hook__person__employee: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__employee_pay_history: Hook to the concept employee_pay_history 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__employee_pay_history: Point-in-time hook to the concept employee_pay_history 16 | _pit_hook__person__employee: Point-in-time hook to the concept person, with qualifier 17 | employee 18 | bridge__is_current_record: Flag indicating if this is the current valid version 19 | of the bridge record. 20 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 21 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 22 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 23 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 24 | peripheral: Name of the peripheral table the bridge record belongs to. 25 | column_prefix: employee_pay_history 26 | dependencies: 27 | bridge__adventure_works__employees: 28 | inherited_hooks: 29 | - _pit_hook__person__employee 30 | primary_hook: _hook__person__employee 31 | description: Puppini bridge for the peripheral table adventure_works__employee_pay_histories 32 | hook: _hook__employee_pay_history 33 | name: bridge__adventure_works__employee_pay_histories 34 | peripheral: adventure_works__employee_pay_histories 35 | primary_hook: _pit_hook__employee_pay_history 36 | source_name: frame__adventure_works__employee_pay_histories 37 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__employees.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__employee: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__employee: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__person__employee: Hook to the concept person, with qualifier employee 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__person__employee: Point-in-time hook to the concept person, with qualifier 15 | employee 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: employee 24 | description: Puppini bridge for the peripheral table adventure_works__employees 25 | hook: _hook__person__employee 26 | name: bridge__adventure_works__employees 27 | peripheral: adventure_works__employees 28 | primary_hook: _pit_hook__person__employee 29 | source_name: frame__adventure_works__employees 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__illustrations.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__illustration: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__illustration: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__illustration: Hook to the concept reference, with qualifier illustration 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__illustration: Point-in-time hook to the concept reference, 15 | with qualifier illustration 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: illustration 24 | description: Puppini bridge for the peripheral table adventure_works__illustrations 25 | hook: _hook__reference__illustration 26 | name: bridge__adventure_works__illustrations 27 | peripheral: adventure_works__illustrations 28 | primary_hook: _pit_hook__reference__illustration 29 | source_name: frame__adventure_works__illustrations 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__job_candidates.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__job_candidate: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__job_candidate: binary 5 | _pit_hook__person__employee: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__job_candidate: Hook to the concept job_candidate 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__job_candidate: Point-in-time hook to the concept job_candidate 16 | _pit_hook__person__employee: Point-in-time hook to the concept person, with qualifier 17 | employee 18 | bridge__is_current_record: Flag indicating if this is the current valid version 19 | of the bridge record. 20 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 21 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 22 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 23 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 24 | peripheral: Name of the peripheral table the bridge record belongs to. 25 | column_prefix: job_candidate 26 | dependencies: 27 | bridge__adventure_works__employees: 28 | inherited_hooks: 29 | - _pit_hook__person__employee 30 | primary_hook: _hook__person__employee 31 | description: Puppini bridge for the peripheral table adventure_works__job_candidates 32 | hook: _hook__job_candidate 33 | name: bridge__adventure_works__job_candidates 34 | peripheral: adventure_works__job_candidates 35 | primary_hook: _pit_hook__job_candidate 36 | source_name: frame__adventure_works__job_candidates 37 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__locations.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__location: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__location: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__location: Hook to the concept reference, with qualifier location 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__location: Point-in-time hook to the concept reference, with 15 | qualifier location 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: location 24 | description: Puppini bridge for the peripheral table adventure_works__locations 25 | hook: _hook__reference__location 26 | name: bridge__adventure_works__locations 27 | peripheral: adventure_works__locations 28 | primary_hook: _pit_hook__reference__location 29 | source_name: frame__adventure_works__locations 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__person_phones.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__individual: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__individual: binary 5 | _pit_hook__reference__phone_number_type: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__person__individual: Hook to the concept person, with qualifier individual 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__person__individual: Point-in-time hook to the concept person, with qualifier 16 | individual 17 | _pit_hook__reference__phone_number_type: Point-in-time hook to the concept reference, 18 | with qualifier phone_number_type 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | peripheral: Name of the peripheral table the bridge record belongs to. 26 | column_prefix: person_phone 27 | dependencies: 28 | bridge__adventure_works__phone_number_types: 29 | inherited_hooks: 30 | - _pit_hook__reference__phone_number_type 31 | primary_hook: _hook__reference__phone_number_type 32 | description: Puppini bridge for the peripheral table adventure_works__person_phones 33 | hook: _hook__person__individual 34 | name: bridge__adventure_works__person_phones 35 | peripheral: adventure_works__person_phones 36 | primary_hook: _pit_hook__person__individual 37 | source_name: frame__adventure_works__person_phones 38 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__persons.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__individual: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__individual: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__person__individual: Hook to the concept person, with qualifier individual 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__person__individual: Point-in-time hook to the concept person, with qualifier 15 | individual 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: person 24 | description: Puppini bridge for the peripheral table adventure_works__persons 25 | hook: _hook__person__individual 26 | name: bridge__adventure_works__persons 27 | peripheral: adventure_works__persons 28 | primary_hook: _pit_hook__person__individual 29 | source_name: frame__adventure_works__persons 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__phone_number_types.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__phone_number_type: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__phone_number_type: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__phone_number_type: Hook to the concept reference, with qualifier 13 | phone_number_type 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__reference__phone_number_type: Point-in-time hook to the concept reference, 16 | with qualifier phone_number_type 17 | bridge__is_current_record: Flag indicating if this is the current valid version 18 | of the bridge record. 19 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 20 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 21 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 22 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 23 | peripheral: Name of the peripheral table the bridge record belongs to. 24 | column_prefix: phone_number_type 25 | description: Puppini bridge for the peripheral table adventure_works__phone_number_types 26 | hook: _hook__reference__phone_number_type 27 | name: bridge__adventure_works__phone_number_types 28 | peripheral: adventure_works__phone_number_types 29 | primary_hook: _pit_hook__reference__phone_number_type 30 | source_name: frame__adventure_works__phone_number_types 31 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__product_categories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__product_category: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__product_category: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__product_category: Hook to the concept product_category 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__product_category: Point-in-time hook to the concept product_category 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: product_category 23 | description: Puppini bridge for the peripheral table adventure_works__product_categories 24 | hook: _hook__product_category 25 | name: bridge__adventure_works__product_categories 26 | peripheral: adventure_works__product_categories 27 | primary_hook: _pit_hook__product_category 28 | source_name: frame__adventure_works__product_categories 29 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__product_descriptions.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__product_description: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__product_description: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__product_description: Hook to the concept reference, with qualifier 13 | product_description 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__reference__product_description: Point-in-time hook to the concept reference, 16 | with qualifier product_description 17 | bridge__is_current_record: Flag indicating if this is the current valid version 18 | of the bridge record. 19 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 20 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 21 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 22 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 23 | peripheral: Name of the peripheral table the bridge record belongs to. 24 | column_prefix: product_description 25 | description: Puppini bridge for the peripheral table adventure_works__product_descriptions 26 | hook: _hook__reference__product_description 27 | name: bridge__adventure_works__product_descriptions 28 | peripheral: adventure_works__product_descriptions 29 | primary_hook: _pit_hook__reference__product_description 30 | source_name: frame__adventure_works__product_descriptions 31 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__product_models.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__product_model: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__product_model: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__product_model: Hook to the concept reference, with qualifier product_model 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__product_model: Point-in-time hook to the concept reference, 15 | with qualifier product_model 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: product_model 24 | description: Puppini bridge for the peripheral table adventure_works__product_models 25 | hook: _hook__reference__product_model 26 | name: bridge__adventure_works__product_models 27 | peripheral: adventure_works__product_models 28 | primary_hook: _pit_hook__reference__product_model 29 | source_name: frame__adventure_works__product_models 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__product_photos.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__product_photo: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__product_photo: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__product_photo: Hook to the concept reference, with qualifier product_photo 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__product_photo: Point-in-time hook to the concept reference, 15 | with qualifier product_photo 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: product_photo 24 | description: Puppini bridge for the peripheral table adventure_works__product_photos 25 | hook: _hook__reference__product_photo 26 | name: bridge__adventure_works__product_photos 27 | peripheral: adventure_works__product_photos 28 | primary_hook: _pit_hook__reference__product_photo 29 | source_name: frame__adventure_works__product_photos 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__product_subcategories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__product_subcategory: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__product_category: binary 5 | _pit_hook__product_subcategory: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__product_subcategory: Hook to the concept product_subcategory 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__product_category: Point-in-time hook to the concept product_category 16 | _pit_hook__product_subcategory: Point-in-time hook to the concept product_subcategory 17 | bridge__is_current_record: Flag indicating if this is the current valid version 18 | of the bridge record. 19 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 20 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 21 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 22 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 23 | peripheral: Name of the peripheral table the bridge record belongs to. 24 | column_prefix: product_subcategory 25 | dependencies: 26 | bridge__adventure_works__product_categories: 27 | inherited_hooks: 28 | - _pit_hook__product_category 29 | primary_hook: _hook__product_category 30 | description: Puppini bridge for the peripheral table adventure_works__product_subcategories 31 | hook: _hook__product_subcategory 32 | name: bridge__adventure_works__product_subcategories 33 | peripheral: adventure_works__product_subcategories 34 | primary_hook: _pit_hook__product_subcategory 35 | source_name: frame__adventure_works__product_subcategories 36 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__products.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__product: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__product: binary 5 | _pit_hook__product_category: binary 6 | _pit_hook__product_subcategory: binary 7 | _pit_hook__reference__product_model: binary 8 | bridge__is_current_record: boolean 9 | bridge__record_loaded_at: timestamp 10 | bridge__record_updated_at: timestamp 11 | bridge__record_valid_from: timestamp 12 | bridge__record_valid_to: timestamp 13 | peripheral: text 14 | column_descriptions: 15 | _hook__product: Hook to the concept product 16 | _pit_hook__bridge: Point-in-time hook for the bridge record. 17 | _pit_hook__product: Point-in-time hook to the concept product 18 | _pit_hook__product_category: Point-in-time hook to the concept product_category 19 | _pit_hook__product_subcategory: Point-in-time hook to the concept product_subcategory 20 | _pit_hook__reference__product_model: Point-in-time hook to the concept reference, 21 | with qualifier product_model 22 | bridge__is_current_record: Flag indicating if this is the current valid version 23 | of the bridge record. 24 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 25 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 26 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 27 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 28 | peripheral: Name of the peripheral table the bridge record belongs to. 29 | column_prefix: product 30 | dependencies: 31 | bridge__adventure_works__product_models: 32 | inherited_hooks: 33 | - _pit_hook__reference__product_model 34 | primary_hook: _hook__reference__product_model 35 | bridge__adventure_works__product_subcategories: 36 | inherited_hooks: 37 | - _pit_hook__product_subcategory 38 | - _pit_hook__product_category 39 | primary_hook: _hook__product_subcategory 40 | description: Puppini bridge for the peripheral table adventure_works__products 41 | hook: _hook__product 42 | name: bridge__adventure_works__products 43 | peripheral: adventure_works__products 44 | primary_hook: _pit_hook__product 45 | source_name: frame__adventure_works__products 46 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__sales_person_quota_histories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__sales: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__sales: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__person__sales: Hook to the concept person, with qualifier sales 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__person__sales: Point-in-time hook to the concept person, with qualifier 15 | sales 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: sales_person_quota_history 24 | description: Puppini bridge for the peripheral table adventure_works__sales_person_quota_histories 25 | hook: _hook__person__sales 26 | name: bridge__adventure_works__sales_person_quota_histories 27 | peripheral: adventure_works__sales_person_quota_histories 28 | primary_hook: _pit_hook__person__sales 29 | source_name: frame__adventure_works__sales_person_quota_histories 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__sales_persons.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__sales: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__sales: binary 5 | _pit_hook__reference__country_region: binary 6 | _pit_hook__territory__sales: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | peripheral: text 13 | column_descriptions: 14 | _hook__person__sales: Hook to the concept person, with qualifier sales 15 | _pit_hook__bridge: Point-in-time hook for the bridge record. 16 | _pit_hook__person__sales: Point-in-time hook to the concept person, with qualifier 17 | sales 18 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 19 | with qualifier country_region 20 | _pit_hook__territory__sales: Point-in-time hook to the concept territory, with qualifier 21 | sales 22 | bridge__is_current_record: Flag indicating if this is the current valid version 23 | of the bridge record. 24 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 25 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 26 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 27 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 28 | peripheral: Name of the peripheral table the bridge record belongs to. 29 | column_prefix: sales_person 30 | dependencies: 31 | bridge__adventure_works__sales_territories: 32 | inherited_hooks: 33 | - _pit_hook__territory__sales 34 | - _pit_hook__reference__country_region 35 | primary_hook: _hook__territory__sales 36 | description: Puppini bridge for the peripheral table adventure_works__sales_persons 37 | hook: _hook__person__sales 38 | name: bridge__adventure_works__sales_persons 39 | peripheral: adventure_works__sales_persons 40 | primary_hook: _pit_hook__person__sales 41 | source_name: frame__adventure_works__sales_persons 42 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__sales_reasons.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__sales_reason: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__sales_reason: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__sales_reason: Hook to the concept reference, with qualifier sales_reason 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__sales_reason: Point-in-time hook to the concept reference, 15 | with qualifier sales_reason 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: sales_reason 24 | description: Puppini bridge for the peripheral table adventure_works__sales_reasons 25 | hook: _hook__reference__sales_reason 26 | name: bridge__adventure_works__sales_reasons 27 | peripheral: adventure_works__sales_reasons 28 | primary_hook: _pit_hook__reference__sales_reason 29 | source_name: frame__adventure_works__sales_reasons 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__sales_territories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__territory__sales: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__country_region: binary 5 | _pit_hook__territory__sales: binary 6 | bridge__is_current_record: boolean 7 | bridge__record_loaded_at: timestamp 8 | bridge__record_updated_at: timestamp 9 | bridge__record_valid_from: timestamp 10 | bridge__record_valid_to: timestamp 11 | peripheral: text 12 | column_descriptions: 13 | _hook__territory__sales: Hook to the concept territory, with qualifier sales 14 | _pit_hook__bridge: Point-in-time hook for the bridge record. 15 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 16 | with qualifier country_region 17 | _pit_hook__territory__sales: Point-in-time hook to the concept territory, with qualifier 18 | sales 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | peripheral: Name of the peripheral table the bridge record belongs to. 26 | column_prefix: sales_territory 27 | dependencies: 28 | bridge__adventure_works__country_regions: 29 | inherited_hooks: 30 | - _pit_hook__reference__country_region 31 | primary_hook: _hook__reference__country_region 32 | description: Puppini bridge for the peripheral table adventure_works__sales_territories 33 | hook: _hook__territory__sales 34 | name: bridge__adventure_works__sales_territories 35 | peripheral: adventure_works__sales_territories 36 | primary_hook: _pit_hook__territory__sales 37 | source_name: frame__adventure_works__sales_territories 38 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__sales_territory_histories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__person__sales: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__sales: binary 5 | _pit_hook__reference__country_region: binary 6 | _pit_hook__territory__sales: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | peripheral: text 13 | column_descriptions: 14 | _hook__person__sales: Hook to the concept person, with qualifier sales 15 | _pit_hook__bridge: Point-in-time hook for the bridge record. 16 | _pit_hook__person__sales: Point-in-time hook to the concept person, with qualifier 17 | sales 18 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 19 | with qualifier country_region 20 | _pit_hook__territory__sales: Point-in-time hook to the concept territory, with qualifier 21 | sales 22 | bridge__is_current_record: Flag indicating if this is the current valid version 23 | of the bridge record. 24 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 25 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 26 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 27 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 28 | peripheral: Name of the peripheral table the bridge record belongs to. 29 | column_prefix: sales_territory_history 30 | dependencies: 31 | bridge__adventure_works__sales_territories: 32 | inherited_hooks: 33 | - _pit_hook__territory__sales 34 | - _pit_hook__reference__country_region 35 | primary_hook: _hook__territory__sales 36 | description: Puppini bridge for the peripheral table adventure_works__sales_territory_histories 37 | hook: _hook__person__sales 38 | name: bridge__adventure_works__sales_territory_histories 39 | peripheral: adventure_works__sales_territory_histories 40 | primary_hook: _pit_hook__person__sales 41 | source_name: frame__adventure_works__sales_territory_histories 42 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__scrap_reasons.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__scrap_reason: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__scrap_reason: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__scrap_reason: Hook to the concept reference, with qualifier scrap_reason 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__scrap_reason: Point-in-time hook to the concept reference, 15 | with qualifier scrap_reason 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: scrap_reason 24 | description: Puppini bridge for the peripheral table adventure_works__scrap_reasons 25 | hook: _hook__reference__scrap_reason 26 | name: bridge__adventure_works__scrap_reasons 27 | peripheral: adventure_works__scrap_reasons 28 | primary_hook: _pit_hook__reference__scrap_reason 29 | source_name: frame__adventure_works__scrap_reasons 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__shifts.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__shift: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__shift: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__shift: Hook to the concept reference, with qualifier shift 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__shift: Point-in-time hook to the concept reference, with qualifier 15 | shift 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: shift 24 | description: Puppini bridge for the peripheral table adventure_works__shifts 25 | hook: _hook__reference__shift 26 | name: bridge__adventure_works__shifts 27 | peripheral: adventure_works__shifts 28 | primary_hook: _pit_hook__reference__shift 29 | source_name: frame__adventure_works__shifts 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__ship_methods.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__ship_method: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__ship_method: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__ship_method: Hook to the concept ship_method 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__ship_method: Point-in-time hook to the concept ship_method 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: ship_method 23 | description: Puppini bridge for the peripheral table adventure_works__ship_methods 24 | hook: _hook__ship_method 25 | name: bridge__adventure_works__ship_methods 26 | peripheral: adventure_works__ship_methods 27 | primary_hook: _pit_hook__ship_method 28 | source_name: frame__adventure_works__ship_methods 29 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__special_offers.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__special_offer: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__special_offer: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__special_offer: Hook to the concept reference, with qualifier special_offer 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__special_offer: Point-in-time hook to the concept reference, 15 | with qualifier special_offer 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: special_offer 24 | description: Puppini bridge for the peripheral table adventure_works__special_offers 25 | hook: _hook__reference__special_offer 26 | name: bridge__adventure_works__special_offers 27 | peripheral: adventure_works__special_offers 28 | primary_hook: _pit_hook__reference__special_offer 29 | source_name: frame__adventure_works__special_offers 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__stores.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__store: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__person__sales: binary 5 | _pit_hook__reference__country_region: binary 6 | _pit_hook__store: binary 7 | _pit_hook__territory__sales: binary 8 | bridge__is_current_record: boolean 9 | bridge__record_loaded_at: timestamp 10 | bridge__record_updated_at: timestamp 11 | bridge__record_valid_from: timestamp 12 | bridge__record_valid_to: timestamp 13 | peripheral: text 14 | column_descriptions: 15 | _hook__store: Hook to the concept store 16 | _pit_hook__bridge: Point-in-time hook for the bridge record. 17 | _pit_hook__person__sales: Point-in-time hook to the concept person, with qualifier 18 | sales 19 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 20 | with qualifier country_region 21 | _pit_hook__store: Point-in-time hook to the concept store 22 | _pit_hook__territory__sales: Point-in-time hook to the concept territory, with qualifier 23 | sales 24 | bridge__is_current_record: Flag indicating if this is the current valid version 25 | of the bridge record. 26 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 27 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 28 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 29 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 30 | peripheral: Name of the peripheral table the bridge record belongs to. 31 | column_prefix: store 32 | dependencies: 33 | bridge__adventure_works__sales_persons: 34 | inherited_hooks: 35 | - _pit_hook__person__sales 36 | - _pit_hook__territory__sales 37 | - _pit_hook__reference__country_region 38 | primary_hook: _hook__person__sales 39 | description: Puppini bridge for the peripheral table adventure_works__stores 40 | hook: _hook__store 41 | name: bridge__adventure_works__stores 42 | peripheral: adventure_works__stores 43 | primary_hook: _pit_hook__store 44 | source_name: frame__adventure_works__stores 45 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__unit_measures.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__reference__unit_measure: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__reference__unit_measure: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__reference__unit_measure: Hook to the concept reference, with qualifier unit_measure 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__reference__unit_measure: Point-in-time hook to the concept reference, 15 | with qualifier unit_measure 16 | bridge__is_current_record: Flag indicating if this is the current valid version 17 | of the bridge record. 18 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 19 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 20 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 21 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 22 | peripheral: Name of the peripheral table the bridge record belongs to. 23 | column_prefix: unit_measure 24 | description: Puppini bridge for the peripheral table adventure_works__unit_measures 25 | hook: _hook__reference__unit_measure 26 | name: bridge__adventure_works__unit_measures 27 | peripheral: adventure_works__unit_measures 28 | primary_hook: _pit_hook__reference__unit_measure 29 | source_name: frame__adventure_works__unit_measures 30 | -------------------------------------------------------------------------------- /models/blueprints/bridges/bridge__adventure_works__vendors.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__vendor: binary 3 | _pit_hook__bridge: binary 4 | _pit_hook__vendor: binary 5 | bridge__is_current_record: boolean 6 | bridge__record_loaded_at: timestamp 7 | bridge__record_updated_at: timestamp 8 | bridge__record_valid_from: timestamp 9 | bridge__record_valid_to: timestamp 10 | peripheral: text 11 | column_descriptions: 12 | _hook__vendor: Hook to the concept vendor 13 | _pit_hook__bridge: Point-in-time hook for the bridge record. 14 | _pit_hook__vendor: Point-in-time hook to the concept vendor 15 | bridge__is_current_record: Flag indicating if this is the current valid version 16 | of the bridge record. 17 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 18 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 19 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 20 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 21 | peripheral: Name of the peripheral table the bridge record belongs to. 22 | column_prefix: vendor 23 | description: Puppini bridge for the peripheral table adventure_works__vendors 24 | hook: _hook__vendor 25 | name: bridge__adventure_works__vendors 26 | peripheral: adventure_works__vendors 27 | primary_hook: _pit_hook__vendor 28 | source_name: frame__adventure_works__vendors 29 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__address_types.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__address_types 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__address_type: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__address_type: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__address_type__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__address_type: Hook to the concept reference, with qualifier address_type 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__address_type: Point-in-time hook to the concept reference, 19 | with qualifier address_type 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__address_type__modified: Flag indicating a modified event for this address_type. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__address_type 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__address_type 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__address_type__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | address_type__modified_date: event__address_type__modified 42 | description: Event viewpoint of bridge__adventure_works__address_types. 43 | event_name: event__adventure_works__address_types 44 | hook_name: frame__adventure_works__address_types 45 | primary_pit_hook: _pit_hook__reference__address_type 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__contact_types.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__contact_types 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__contact_type: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__contact_type: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__contact_type__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__contact_type: Hook to the concept reference, with qualifier contact_type 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__contact_type: Point-in-time hook to the concept reference, 19 | with qualifier contact_type 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__contact_type__modified: Flag indicating a modified event for this contact_type. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__contact_type 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__contact_type 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__contact_type__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | contact_type__modified_date: event__contact_type__modified 42 | description: Event viewpoint of bridge__adventure_works__contact_types. 43 | event_name: event__adventure_works__contact_types 44 | hook_name: frame__adventure_works__contact_types 45 | primary_pit_hook: _pit_hook__reference__contact_type 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__country_regions.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__country_regions 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__country_region: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__country_region: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__country_region__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__country_region: Hook to the concept reference, with qualifier 17 | country_region 18 | _pit_hook__bridge: Point-in-time hook for the bridge record. 19 | _pit_hook__reference__country_region: Point-in-time hook to the concept reference, 20 | with qualifier country_region 21 | bridge__is_current_record: Flag indicating if this is the current valid version 22 | of the bridge record. 23 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 24 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 25 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 26 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 27 | event__country_region__modified: Flag indicating a modified event for this country_region. 28 | peripheral: Name of the peripheral table the bridge record belongs to. 29 | columns: 30 | - _hook__reference__country_region 31 | - _pit_hook__bridge 32 | - _pit_hook__reference__country_region 33 | - bridge__is_current_record 34 | - bridge__record_loaded_at 35 | - bridge__record_updated_at 36 | - bridge__record_valid_from 37 | - bridge__record_valid_to 38 | - peripheral 39 | - event__country_region__modified 40 | - _hook__epoch__date 41 | date_columns: 42 | country_region__modified_date: event__country_region__modified 43 | description: Event viewpoint of bridge__adventure_works__country_regions. 44 | event_name: event__adventure_works__country_regions 45 | hook_name: frame__adventure_works__country_regions 46 | primary_pit_hook: _pit_hook__reference__country_region 47 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__credit_cards.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__credit_cards 2 | column_data_types: 3 | _hook__credit_card: binary 4 | _hook__epoch__date: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__credit_card: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__credit_card__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__credit_card: Hook to the concept credit_card 16 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__credit_card: Point-in-time hook to the concept credit_card 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | event__credit_card__modified: Flag indicating a modified event for this credit_card. 26 | peripheral: Name of the peripheral table the bridge record belongs to. 27 | columns: 28 | - _hook__credit_card 29 | - _pit_hook__bridge 30 | - _pit_hook__credit_card 31 | - bridge__is_current_record 32 | - bridge__record_loaded_at 33 | - bridge__record_updated_at 34 | - bridge__record_valid_from 35 | - bridge__record_valid_to 36 | - peripheral 37 | - event__credit_card__modified 38 | - _hook__epoch__date 39 | date_columns: 40 | credit_card__modified_date: event__credit_card__modified 41 | description: Event viewpoint of bridge__adventure_works__credit_cards. 42 | event_name: event__adventure_works__credit_cards 43 | hook_name: frame__adventure_works__credit_cards 44 | primary_pit_hook: _pit_hook__credit_card 45 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__cultures.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__cultures 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__culture: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__culture: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__culture__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__culture: Hook to the concept reference, with qualifier culture 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__culture: Point-in-time hook to the concept reference, with 19 | qualifier culture 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__culture__modified: Flag indicating a modified event for this culture. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__culture 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__culture 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__culture__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | culture__modified_date: event__culture__modified 42 | description: Event viewpoint of bridge__adventure_works__cultures. 43 | event_name: event__adventure_works__cultures 44 | hook_name: frame__adventure_works__cultures 45 | primary_pit_hook: _pit_hook__reference__culture 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__currencies.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__currencies 2 | column_data_types: 3 | _hook__currency: binary 4 | _hook__epoch__date: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__currency: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__currency__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__currency: Hook to the concept currency 16 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__currency: Point-in-time hook to the concept currency 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | event__currency__modified: Flag indicating a modified event for this currency. 26 | peripheral: Name of the peripheral table the bridge record belongs to. 27 | columns: 28 | - _hook__currency 29 | - _pit_hook__bridge 30 | - _pit_hook__currency 31 | - bridge__is_current_record 32 | - bridge__record_loaded_at 33 | - bridge__record_updated_at 34 | - bridge__record_valid_from 35 | - bridge__record_valid_to 36 | - peripheral 37 | - event__currency__modified 38 | - _hook__epoch__date 39 | date_columns: 40 | currency__modified_date: event__currency__modified 41 | description: Event viewpoint of bridge__adventure_works__currencies. 42 | event_name: event__adventure_works__currencies 43 | hook_name: frame__adventure_works__currencies 44 | primary_pit_hook: _pit_hook__currency 45 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__departments.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__departments 2 | column_data_types: 3 | _hook__department: binary 4 | _hook__epoch__date: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__department: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__department__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__department: Hook to the concept department 16 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__department: Point-in-time hook to the concept department 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | event__department__modified: Flag indicating a modified event for this department. 26 | peripheral: Name of the peripheral table the bridge record belongs to. 27 | columns: 28 | - _hook__department 29 | - _pit_hook__bridge 30 | - _pit_hook__department 31 | - bridge__is_current_record 32 | - bridge__record_loaded_at 33 | - bridge__record_updated_at 34 | - bridge__record_valid_from 35 | - bridge__record_valid_to 36 | - peripheral 37 | - event__department__modified 38 | - _hook__epoch__date 39 | date_columns: 40 | department__modified_date: event__department__modified 41 | description: Event viewpoint of bridge__adventure_works__departments. 42 | event_name: event__adventure_works__departments 43 | hook_name: frame__adventure_works__departments 44 | primary_pit_hook: _pit_hook__department 45 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__email_addresses.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__email_addresses 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__person__individual: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__person__individual: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__email_address__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__person__individual: Hook to the concept person, with qualifier individual 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__person__individual: Point-in-time hook to the concept person, with qualifier 19 | individual 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__email_address__modified: Flag indicating a modified event for this email_address. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__person__individual 30 | - _pit_hook__bridge 31 | - _pit_hook__person__individual 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__email_address__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | email_address__modified_date: event__email_address__modified 42 | description: Event viewpoint of bridge__adventure_works__email_addresses. 43 | event_name: event__adventure_works__email_addresses 44 | hook_name: frame__adventure_works__email_addresses 45 | primary_pit_hook: _pit_hook__person__individual 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__illustrations.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__illustrations 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__illustration: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__illustration: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__illustration__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__illustration: Hook to the concept reference, with qualifier illustration 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__illustration: Point-in-time hook to the concept reference, 19 | with qualifier illustration 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__illustration__modified: Flag indicating a modified event for this illustration. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__illustration 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__illustration 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__illustration__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | illustration__modified_date: event__illustration__modified 42 | description: Event viewpoint of bridge__adventure_works__illustrations. 43 | event_name: event__adventure_works__illustrations 44 | hook_name: frame__adventure_works__illustrations 45 | primary_pit_hook: _pit_hook__reference__illustration 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__locations.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__locations 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__location: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__location: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__location__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__location: Hook to the concept reference, with qualifier location 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__location: Point-in-time hook to the concept reference, with 19 | qualifier location 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__location__modified: Flag indicating a modified event for this location. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__location 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__location 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__location__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | location__modified_date: event__location__modified 42 | description: Event viewpoint of bridge__adventure_works__locations. 43 | event_name: event__adventure_works__locations 44 | hook_name: frame__adventure_works__locations 45 | primary_pit_hook: _pit_hook__reference__location 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__persons.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__persons 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__person__individual: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__person__individual: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__person__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__person__individual: Hook to the concept person, with qualifier individual 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__person__individual: Point-in-time hook to the concept person, with qualifier 19 | individual 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__person__modified: Flag indicating a modified event for this person. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__person__individual 30 | - _pit_hook__bridge 31 | - _pit_hook__person__individual 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__person__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | person__modified_date: event__person__modified 42 | description: Event viewpoint of bridge__adventure_works__persons. 43 | event_name: event__adventure_works__persons 44 | hook_name: frame__adventure_works__persons 45 | primary_pit_hook: _pit_hook__person__individual 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__product_categories.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__product_categories 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__product_category: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__product_category: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__product_category__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__product_category: Hook to the concept product_category 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__product_category: Point-in-time hook to the concept product_category 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | event__product_category__modified: Flag indicating a modified event for this product_category. 26 | peripheral: Name of the peripheral table the bridge record belongs to. 27 | columns: 28 | - _hook__product_category 29 | - _pit_hook__bridge 30 | - _pit_hook__product_category 31 | - bridge__is_current_record 32 | - bridge__record_loaded_at 33 | - bridge__record_updated_at 34 | - bridge__record_valid_from 35 | - bridge__record_valid_to 36 | - peripheral 37 | - event__product_category__modified 38 | - _hook__epoch__date 39 | date_columns: 40 | product_category__modified_date: event__product_category__modified 41 | description: Event viewpoint of bridge__adventure_works__product_categories. 42 | event_name: event__adventure_works__product_categories 43 | hook_name: frame__adventure_works__product_categories 44 | primary_pit_hook: _pit_hook__product_category 45 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__product_models.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__product_models 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__product_model: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__product_model: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__product_model__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__product_model: Hook to the concept reference, with qualifier product_model 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__product_model: Point-in-time hook to the concept reference, 19 | with qualifier product_model 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__product_model__modified: Flag indicating a modified event for this product_model. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__product_model 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__product_model 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__product_model__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | product_model__modified_date: event__product_model__modified 42 | description: Event viewpoint of bridge__adventure_works__product_models. 43 | event_name: event__adventure_works__product_models 44 | hook_name: frame__adventure_works__product_models 45 | primary_pit_hook: _pit_hook__reference__product_model 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__product_photos.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__product_photos 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__product_photo: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__product_photo: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__product_photo__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__product_photo: Hook to the concept reference, with qualifier product_photo 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__product_photo: Point-in-time hook to the concept reference, 19 | with qualifier product_photo 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__product_photo__modified: Flag indicating a modified event for this product_photo. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__product_photo 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__product_photo 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__product_photo__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | product_photo__modified_date: event__product_photo__modified 42 | description: Event viewpoint of bridge__adventure_works__product_photos. 43 | event_name: event__adventure_works__product_photos 44 | hook_name: frame__adventure_works__product_photos 45 | primary_pit_hook: _pit_hook__reference__product_photo 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__sales_reasons.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__sales_reasons 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__sales_reason: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__sales_reason: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__sales_reason__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__sales_reason: Hook to the concept reference, with qualifier sales_reason 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__sales_reason: Point-in-time hook to the concept reference, 19 | with qualifier sales_reason 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__sales_reason__modified: Flag indicating a modified event for this sales_reason. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__sales_reason 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__sales_reason 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__sales_reason__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | sales_reason__modified_date: event__sales_reason__modified 42 | description: Event viewpoint of bridge__adventure_works__sales_reasons. 43 | event_name: event__adventure_works__sales_reasons 44 | hook_name: frame__adventure_works__sales_reasons 45 | primary_pit_hook: _pit_hook__reference__sales_reason 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__scrap_reasons.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__scrap_reasons 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__scrap_reason: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__scrap_reason: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__scrap_reason__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__scrap_reason: Hook to the concept reference, with qualifier scrap_reason 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__scrap_reason: Point-in-time hook to the concept reference, 19 | with qualifier scrap_reason 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__scrap_reason__modified: Flag indicating a modified event for this scrap_reason. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__scrap_reason 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__scrap_reason 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__scrap_reason__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | scrap_reason__modified_date: event__scrap_reason__modified 42 | description: Event viewpoint of bridge__adventure_works__scrap_reasons. 43 | event_name: event__adventure_works__scrap_reasons 44 | hook_name: frame__adventure_works__scrap_reasons 45 | primary_pit_hook: _pit_hook__reference__scrap_reason 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__shifts.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__shifts 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__shift: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__shift: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__shift__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__shift: Hook to the concept reference, with qualifier shift 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__shift: Point-in-time hook to the concept reference, with qualifier 19 | shift 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__shift__modified: Flag indicating a modified event for this shift. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__shift 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__shift 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__shift__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | shift__modified_date: event__shift__modified 42 | description: Event viewpoint of bridge__adventure_works__shifts. 43 | event_name: event__adventure_works__shifts 44 | hook_name: frame__adventure_works__shifts 45 | primary_pit_hook: _pit_hook__reference__shift 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__ship_methods.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__ship_methods 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__ship_method: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__ship_method: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__ship_method__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__ship_method: Hook to the concept ship_method 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__ship_method: Point-in-time hook to the concept ship_method 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | event__ship_method__modified: Flag indicating a modified event for this ship_method. 26 | peripheral: Name of the peripheral table the bridge record belongs to. 27 | columns: 28 | - _hook__ship_method 29 | - _pit_hook__bridge 30 | - _pit_hook__ship_method 31 | - bridge__is_current_record 32 | - bridge__record_loaded_at 33 | - bridge__record_updated_at 34 | - bridge__record_valid_from 35 | - bridge__record_valid_to 36 | - peripheral 37 | - event__ship_method__modified 38 | - _hook__epoch__date 39 | date_columns: 40 | ship_method__modified_date: event__ship_method__modified 41 | description: Event viewpoint of bridge__adventure_works__ship_methods. 42 | event_name: event__adventure_works__ship_methods 43 | hook_name: frame__adventure_works__ship_methods 44 | primary_pit_hook: _pit_hook__ship_method 45 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__unit_measures.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__unit_measures 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__reference__unit_measure: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__reference__unit_measure: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__unit_measure__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__reference__unit_measure: Hook to the concept reference, with qualifier unit_measure 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__reference__unit_measure: Point-in-time hook to the concept reference, 19 | with qualifier unit_measure 20 | bridge__is_current_record: Flag indicating if this is the current valid version 21 | of the bridge record. 22 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 23 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 24 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 25 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 26 | event__unit_measure__modified: Flag indicating a modified event for this unit_measure. 27 | peripheral: Name of the peripheral table the bridge record belongs to. 28 | columns: 29 | - _hook__reference__unit_measure 30 | - _pit_hook__bridge 31 | - _pit_hook__reference__unit_measure 32 | - bridge__is_current_record 33 | - bridge__record_loaded_at 34 | - bridge__record_updated_at 35 | - bridge__record_valid_from 36 | - bridge__record_valid_to 37 | - peripheral 38 | - event__unit_measure__modified 39 | - _hook__epoch__date 40 | date_columns: 41 | unit_measure__modified_date: event__unit_measure__modified 42 | description: Event viewpoint of bridge__adventure_works__unit_measures. 43 | event_name: event__adventure_works__unit_measures 44 | hook_name: frame__adventure_works__unit_measures 45 | primary_pit_hook: _pit_hook__reference__unit_measure 46 | -------------------------------------------------------------------------------- /models/blueprints/events/event__adventure_works__vendors.yml: -------------------------------------------------------------------------------- 1 | bridge_name: bridge__adventure_works__vendors 2 | column_data_types: 3 | _hook__epoch__date: binary 4 | _hook__vendor: binary 5 | _pit_hook__bridge: binary 6 | _pit_hook__vendor: binary 7 | bridge__is_current_record: boolean 8 | bridge__record_loaded_at: timestamp 9 | bridge__record_updated_at: timestamp 10 | bridge__record_valid_from: timestamp 11 | bridge__record_valid_to: timestamp 12 | event__vendor__modified: boolean 13 | peripheral: text 14 | column_descriptions: 15 | _hook__epoch__date: Hook to the concept epoch, with qualifier date. 16 | _hook__vendor: Hook to the concept vendor 17 | _pit_hook__bridge: Point-in-time hook for the bridge record. 18 | _pit_hook__vendor: Point-in-time hook to the concept vendor 19 | bridge__is_current_record: Flag indicating if this is the current valid version 20 | of the bridge record. 21 | bridge__record_loaded_at: Timestamp when this bridge record was loaded. 22 | bridge__record_updated_at: Timestamp when this bridge record was last updated. 23 | bridge__record_valid_from: Timestamp from which this bridge record is valid. 24 | bridge__record_valid_to: Timestamp until which this bridge record is valid. 25 | event__vendor__modified: Flag indicating a modified event for this vendor. 26 | peripheral: Name of the peripheral table the bridge record belongs to. 27 | columns: 28 | - _hook__vendor 29 | - _pit_hook__bridge 30 | - _pit_hook__vendor 31 | - bridge__is_current_record 32 | - bridge__record_loaded_at 33 | - bridge__record_updated_at 34 | - bridge__record_valid_from 35 | - bridge__record_valid_to 36 | - peripheral 37 | - event__vendor__modified 38 | - _hook__epoch__date 39 | date_columns: 40 | vendor__modified_date: event__vendor__modified 41 | description: Event viewpoint of bridge__adventure_works__vendors. 42 | event_name: event__adventure_works__vendors 43 | hook_name: frame__adventure_works__vendors 44 | primary_pit_hook: _pit_hook__vendor 45 | -------------------------------------------------------------------------------- /models/blueprints/hook/frame__adventure_works__currencies.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _hook__currency: binary 3 | _pit_hook__currency: binary 4 | currency__currency_code: text 5 | currency__is_current_record: boolean 6 | currency__modified_date: date 7 | currency__name: text 8 | currency__record_loaded_at: timestamp 9 | currency__record_updated_at: timestamp 10 | currency__record_valid_from: timestamp 11 | currency__record_valid_to: timestamp 12 | currency__record_version: int 13 | column_descriptions: 14 | _hook__currency: 'Primary hook for currency_code using keyset: currency__adventure_works.' 15 | _pit_hook__currency: Point in time version of _hook__currency. 16 | currency__currency_code: The ISO code for the Currency. 17 | currency__is_current_record: Flag indicating if this is the current valid version 18 | of the record 19 | currency__modified_date: Date and time the record was last updated. 20 | currency__name: Currency name. 21 | currency__record_loaded_at: Timestamp when this record was loaded into the system 22 | currency__record_updated_at: Timestamp when this record was last updated 23 | currency__record_valid_from: Timestamp from which this record version is valid 24 | currency__record_valid_to: Timestamp until which this record version is valid 25 | currency__record_version: Version number for this record 26 | column_prefix: currency 27 | columns: 28 | - _pit_hook__currency 29 | - _hook__currency 30 | - currency__currency_code 31 | - currency__name 32 | - currency__modified_date 33 | - currency__record_loaded_at 34 | - currency__record_updated_at 35 | - currency__record_version 36 | - currency__record_valid_from 37 | - currency__record_valid_to 38 | - currency__is_current_record 39 | description: Lookup table containing standard ISO currencies. 40 | grain: _pit_hook__currency 41 | hooks: 42 | - business_key_field: currency_code 43 | keyset: currency__adventure_works 44 | name: _hook__currency 45 | primary: true 46 | name: frame__adventure_works__currencies 47 | references: [] 48 | source_columns: 49 | - currency_code 50 | - name 51 | - modified_date 52 | source_primary_keys: 53 | - currency_code 54 | source_table: raw__adventure_works__currencies 55 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__address_types.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__address_type: binary 3 | address_type__address_type_id: bigint 4 | address_type__is_current_record: boolean 5 | address_type__modified_date: date 6 | address_type__name: text 7 | address_type__record_loaded_at: timestamp 8 | address_type__record_updated_at: timestamp 9 | address_type__record_valid_from: timestamp 10 | address_type__record_valid_to: timestamp 11 | address_type__record_version: int 12 | address_type__rowguid: uniqueidentifier 13 | column_descriptions: 14 | _pit_hook__reference__address_type: Point in time version of _hook__reference__address_type. 15 | address_type__address_type_id: Primary key for AddressType records. 16 | address_type__is_current_record: Flag indicating if this is the current valid version 17 | of the record 18 | address_type__modified_date: Date and time the record was last updated. 19 | address_type__name: Address type description. For example, Billing, Home, or Shipping. 20 | address_type__record_loaded_at: Timestamp when this record was loaded into the system 21 | address_type__record_updated_at: Timestamp when this record was last updated 22 | address_type__record_valid_from: Timestamp from which this record version is valid 23 | address_type__record_valid_to: Timestamp until which this record version is valid 24 | address_type__record_version: Version number for this record 25 | address_type__rowguid: ROWGUIDCOL number uniquely identifying the record. Used to 26 | support a merge replication sample. 27 | columns: 28 | - _pit_hook__reference__address_type 29 | - address_type__address_type_id 30 | - address_type__name 31 | - address_type__rowguid 32 | - address_type__modified_date 33 | - address_type__record_loaded_at 34 | - address_type__record_updated_at 35 | - address_type__record_version 36 | - address_type__record_valid_from 37 | - address_type__record_valid_to 38 | - address_type__is_current_record 39 | description: Types of addresses stored in the Address table. 40 | grain: _pit_hook__reference__address_type 41 | hook_name: frame__adventure_works__address_types 42 | peripheral_name: adventure_works__address_types 43 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__contact_types.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__contact_type: binary 3 | contact_type__contact_type_id: bigint 4 | contact_type__is_current_record: boolean 5 | contact_type__modified_date: date 6 | contact_type__name: text 7 | contact_type__record_loaded_at: timestamp 8 | contact_type__record_updated_at: timestamp 9 | contact_type__record_valid_from: timestamp 10 | contact_type__record_valid_to: timestamp 11 | contact_type__record_version: int 12 | column_descriptions: 13 | _pit_hook__reference__contact_type: Point in time version of _hook__reference__contact_type. 14 | contact_type__contact_type_id: Primary key for ContactType records. 15 | contact_type__is_current_record: Flag indicating if this is the current valid version 16 | of the record 17 | contact_type__modified_date: Date and time the record was last updated. 18 | contact_type__name: Contact type description. 19 | contact_type__record_loaded_at: Timestamp when this record was loaded into the system 20 | contact_type__record_updated_at: Timestamp when this record was last updated 21 | contact_type__record_valid_from: Timestamp from which this record version is valid 22 | contact_type__record_valid_to: Timestamp until which this record version is valid 23 | contact_type__record_version: Version number for this record 24 | columns: 25 | - _pit_hook__reference__contact_type 26 | - contact_type__contact_type_id 27 | - contact_type__name 28 | - contact_type__modified_date 29 | - contact_type__record_loaded_at 30 | - contact_type__record_updated_at 31 | - contact_type__record_version 32 | - contact_type__record_valid_from 33 | - contact_type__record_valid_to 34 | - contact_type__is_current_record 35 | description: Lookup table containing the types of business entity contacts. 36 | grain: _pit_hook__reference__contact_type 37 | hook_name: frame__adventure_works__contact_types 38 | peripheral_name: adventure_works__contact_types 39 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__country_regions.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__country_region: binary 3 | country_region__country_region_code: text 4 | country_region__is_current_record: boolean 5 | country_region__modified_date: date 6 | country_region__name: text 7 | country_region__record_loaded_at: timestamp 8 | country_region__record_updated_at: timestamp 9 | country_region__record_valid_from: timestamp 10 | country_region__record_valid_to: timestamp 11 | country_region__record_version: int 12 | column_descriptions: 13 | _pit_hook__reference__country_region: Point in time version of _hook__reference__country_region. 14 | country_region__country_region_code: ISO standard code for countries and regions. 15 | country_region__is_current_record: Flag indicating if this is the current valid 16 | version of the record 17 | country_region__modified_date: Date and time the record was last updated. 18 | country_region__name: Country or region name. 19 | country_region__record_loaded_at: Timestamp when this record was loaded into the 20 | system 21 | country_region__record_updated_at: Timestamp when this record was last updated 22 | country_region__record_valid_from: Timestamp from which this record version is valid 23 | country_region__record_valid_to: Timestamp until which this record version is valid 24 | country_region__record_version: Version number for this record 25 | columns: 26 | - _pit_hook__reference__country_region 27 | - country_region__country_region_code 28 | - country_region__name 29 | - country_region__modified_date 30 | - country_region__record_loaded_at 31 | - country_region__record_updated_at 32 | - country_region__record_version 33 | - country_region__record_valid_from 34 | - country_region__record_valid_to 35 | - country_region__is_current_record 36 | description: Lookup table containing the ISO standard codes for countries and regions. 37 | grain: _pit_hook__reference__country_region 38 | hook_name: frame__adventure_works__country_regions 39 | peripheral_name: adventure_works__country_regions 40 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__credit_cards.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__credit_card: binary 3 | credit_card__card_number: text 4 | credit_card__card_type: text 5 | credit_card__credit_card_id: bigint 6 | credit_card__exp_month: bigint 7 | credit_card__exp_year: bigint 8 | credit_card__is_current_record: boolean 9 | credit_card__modified_date: date 10 | credit_card__record_loaded_at: timestamp 11 | credit_card__record_updated_at: timestamp 12 | credit_card__record_valid_from: timestamp 13 | credit_card__record_valid_to: timestamp 14 | credit_card__record_version: int 15 | column_descriptions: 16 | _pit_hook__credit_card: Point in time version of _hook__credit_card. 17 | credit_card__card_number: Credit card number. 18 | credit_card__card_type: Credit card name. 19 | credit_card__credit_card_id: Primary key for CreditCard records. 20 | credit_card__exp_month: Credit card expiration month. 21 | credit_card__exp_year: Credit card expiration year. 22 | credit_card__is_current_record: Flag indicating if this is the current valid version 23 | of the record 24 | credit_card__modified_date: Date and time the record was last updated. 25 | credit_card__record_loaded_at: Timestamp when this record was loaded into the system 26 | credit_card__record_updated_at: Timestamp when this record was last updated 27 | credit_card__record_valid_from: Timestamp from which this record version is valid 28 | credit_card__record_valid_to: Timestamp until which this record version is valid 29 | credit_card__record_version: Version number for this record 30 | columns: 31 | - _pit_hook__credit_card 32 | - credit_card__credit_card_id 33 | - credit_card__card_type 34 | - credit_card__card_number 35 | - credit_card__exp_month 36 | - credit_card__exp_year 37 | - credit_card__modified_date 38 | - credit_card__record_loaded_at 39 | - credit_card__record_updated_at 40 | - credit_card__record_version 41 | - credit_card__record_valid_from 42 | - credit_card__record_valid_to 43 | - credit_card__is_current_record 44 | description: Customer credit card information. 45 | grain: _pit_hook__credit_card 46 | hook_name: frame__adventure_works__credit_cards 47 | peripheral_name: adventure_works__credit_cards 48 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__cultures.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__culture: binary 3 | culture__culture_id: text 4 | culture__is_current_record: boolean 5 | culture__modified_date: date 6 | culture__name: text 7 | culture__record_loaded_at: timestamp 8 | culture__record_updated_at: timestamp 9 | culture__record_valid_from: timestamp 10 | culture__record_valid_to: timestamp 11 | culture__record_version: int 12 | column_descriptions: 13 | _pit_hook__reference__culture: Point in time version of _hook__reference__culture. 14 | culture__culture_id: Primary key for Culture records. 15 | culture__is_current_record: Flag indicating if this is the current valid version 16 | of the record 17 | culture__modified_date: Date and time the record was last updated. 18 | culture__name: Culture description. 19 | culture__record_loaded_at: Timestamp when this record was loaded into the system 20 | culture__record_updated_at: Timestamp when this record was last updated 21 | culture__record_valid_from: Timestamp from which this record version is valid 22 | culture__record_valid_to: Timestamp until which this record version is valid 23 | culture__record_version: Version number for this record 24 | columns: 25 | - _pit_hook__reference__culture 26 | - culture__culture_id 27 | - culture__name 28 | - culture__modified_date 29 | - culture__record_loaded_at 30 | - culture__record_updated_at 31 | - culture__record_version 32 | - culture__record_valid_from 33 | - culture__record_valid_to 34 | - culture__is_current_record 35 | description: Lookup table containing the languages in which some AdventureWorks data 36 | is stored. 37 | grain: _pit_hook__reference__culture 38 | hook_name: frame__adventure_works__cultures 39 | peripheral_name: adventure_works__cultures 40 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__currencies.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__currency: binary 3 | currency__currency_code: text 4 | currency__is_current_record: boolean 5 | currency__modified_date: date 6 | currency__name: text 7 | currency__record_loaded_at: timestamp 8 | currency__record_updated_at: timestamp 9 | currency__record_valid_from: timestamp 10 | currency__record_valid_to: timestamp 11 | currency__record_version: int 12 | column_descriptions: 13 | _pit_hook__currency: Point in time version of _hook__currency. 14 | currency__currency_code: The ISO code for the Currency. 15 | currency__is_current_record: Flag indicating if this is the current valid version 16 | of the record 17 | currency__modified_date: Date and time the record was last updated. 18 | currency__name: Currency name. 19 | currency__record_loaded_at: Timestamp when this record was loaded into the system 20 | currency__record_updated_at: Timestamp when this record was last updated 21 | currency__record_valid_from: Timestamp from which this record version is valid 22 | currency__record_valid_to: Timestamp until which this record version is valid 23 | currency__record_version: Version number for this record 24 | columns: 25 | - _pit_hook__currency 26 | - currency__currency_code 27 | - currency__name 28 | - currency__modified_date 29 | - currency__record_loaded_at 30 | - currency__record_updated_at 31 | - currency__record_version 32 | - currency__record_valid_from 33 | - currency__record_valid_to 34 | - currency__is_current_record 35 | description: Lookup table containing standard ISO currencies. 36 | grain: _pit_hook__currency 37 | hook_name: frame__adventure_works__currencies 38 | peripheral_name: adventure_works__currencies 39 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__departments.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__department: binary 3 | department__department_id: bigint 4 | department__group_name: text 5 | department__is_current_record: boolean 6 | department__modified_date: date 7 | department__name: text 8 | department__record_loaded_at: timestamp 9 | department__record_updated_at: timestamp 10 | department__record_valid_from: timestamp 11 | department__record_valid_to: timestamp 12 | department__record_version: int 13 | column_descriptions: 14 | _pit_hook__department: Point in time version of _hook__department. 15 | department__department_id: Primary key for Department records. 16 | department__group_name: Name of the group to which the department belongs. 17 | department__is_current_record: Flag indicating if this is the current valid version 18 | of the record 19 | department__modified_date: Date and time the record was last updated. 20 | department__name: Name of the department. 21 | department__record_loaded_at: Timestamp when this record was loaded into the system 22 | department__record_updated_at: Timestamp when this record was last updated 23 | department__record_valid_from: Timestamp from which this record version is valid 24 | department__record_valid_to: Timestamp until which this record version is valid 25 | department__record_version: Version number for this record 26 | columns: 27 | - _pit_hook__department 28 | - department__department_id 29 | - department__name 30 | - department__group_name 31 | - department__modified_date 32 | - department__record_loaded_at 33 | - department__record_updated_at 34 | - department__record_version 35 | - department__record_valid_from 36 | - department__record_valid_to 37 | - department__is_current_record 38 | description: Lookup table containing the departments within the Adventure Works Cycles 39 | company. 40 | grain: _pit_hook__department 41 | hook_name: frame__adventure_works__departments 42 | peripheral_name: adventure_works__departments 43 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__illustrations.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__illustration: binary 3 | illustration__diagram: xml 4 | illustration__illustration_id: bigint 5 | illustration__is_current_record: boolean 6 | illustration__modified_date: date 7 | illustration__record_loaded_at: timestamp 8 | illustration__record_updated_at: timestamp 9 | illustration__record_valid_from: timestamp 10 | illustration__record_valid_to: timestamp 11 | illustration__record_version: int 12 | column_descriptions: 13 | _pit_hook__reference__illustration: Point in time version of _hook__reference__illustration. 14 | illustration__diagram: Illustrations used in manufacturing instructions. Stored 15 | as XML. 16 | illustration__illustration_id: Primary key for Illustration records. 17 | illustration__is_current_record: Flag indicating if this is the current valid version 18 | of the record 19 | illustration__modified_date: Date and time the record was last updated. 20 | illustration__record_loaded_at: Timestamp when this record was loaded into the system 21 | illustration__record_updated_at: Timestamp when this record was last updated 22 | illustration__record_valid_from: Timestamp from which this record version is valid 23 | illustration__record_valid_to: Timestamp until which this record version is valid 24 | illustration__record_version: Version number for this record 25 | columns: 26 | - _pit_hook__reference__illustration 27 | - illustration__illustration_id 28 | - illustration__diagram 29 | - illustration__modified_date 30 | - illustration__record_loaded_at 31 | - illustration__record_updated_at 32 | - illustration__record_version 33 | - illustration__record_valid_from 34 | - illustration__record_valid_to 35 | - illustration__is_current_record 36 | description: Bicycle assembly diagrams. 37 | grain: _pit_hook__reference__illustration 38 | hook_name: frame__adventure_works__illustrations 39 | peripheral_name: adventure_works__illustrations 40 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__job_candidates.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__job_candidate: binary 3 | job_candidate__business_entity_id: bigint 4 | job_candidate__is_current_record: boolean 5 | job_candidate__job_candidate_id: bigint 6 | job_candidate__modified_date: date 7 | job_candidate__record_loaded_at: timestamp 8 | job_candidate__record_updated_at: timestamp 9 | job_candidate__record_valid_from: timestamp 10 | job_candidate__record_valid_to: timestamp 11 | job_candidate__record_version: int 12 | job_candidate__resume: xml 13 | column_descriptions: 14 | _pit_hook__job_candidate: Point in time version of _hook__job_candidate. 15 | job_candidate__business_entity_id: Employee identification number if applicant was 16 | hired. Foreign key to Employee.BusinessEntityID. 17 | job_candidate__is_current_record: Flag indicating if this is the current valid version 18 | of the record 19 | job_candidate__job_candidate_id: Primary key for JobCandidate records. 20 | job_candidate__modified_date: Date and time the record was last updated. 21 | job_candidate__record_loaded_at: Timestamp when this record was loaded into the 22 | system 23 | job_candidate__record_updated_at: Timestamp when this record was last updated 24 | job_candidate__record_valid_from: Timestamp from which this record version is valid 25 | job_candidate__record_valid_to: Timestamp until which this record version is valid 26 | job_candidate__record_version: Version number for this record 27 | job_candidate__resume: "R\xE9sum\xE9 in XML format." 28 | columns: 29 | - _pit_hook__job_candidate 30 | - job_candidate__job_candidate_id 31 | - job_candidate__resume 32 | - job_candidate__modified_date 33 | - job_candidate__business_entity_id 34 | - job_candidate__record_loaded_at 35 | - job_candidate__record_updated_at 36 | - job_candidate__record_version 37 | - job_candidate__record_valid_from 38 | - job_candidate__record_valid_to 39 | - job_candidate__is_current_record 40 | description: "R\xE9sum\xE9s submitted to Human Resources by job applicants." 41 | grain: _pit_hook__job_candidate 42 | hook_name: frame__adventure_works__job_candidates 43 | peripheral_name: adventure_works__job_candidates 44 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__locations.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__location: binary 3 | location__availability: double 4 | location__cost_rate: double 5 | location__is_current_record: boolean 6 | location__location_id: bigint 7 | location__modified_date: date 8 | location__name: text 9 | location__record_loaded_at: timestamp 10 | location__record_updated_at: timestamp 11 | location__record_valid_from: timestamp 12 | location__record_valid_to: timestamp 13 | location__record_version: int 14 | column_descriptions: 15 | _pit_hook__reference__location: Point in time version of _hook__reference__location. 16 | location__availability: Work capacity (in hours) of the manufacturing location. 17 | location__cost_rate: Standard hourly cost of the manufacturing location. 18 | location__is_current_record: Flag indicating if this is the current valid version 19 | of the record 20 | location__location_id: Primary key for Location records. 21 | location__modified_date: Date and time the record was last updated. 22 | location__name: Location description. 23 | location__record_loaded_at: Timestamp when this record was loaded into the system 24 | location__record_updated_at: Timestamp when this record was last updated 25 | location__record_valid_from: Timestamp from which this record version is valid 26 | location__record_valid_to: Timestamp until which this record version is valid 27 | location__record_version: Version number for this record 28 | columns: 29 | - _pit_hook__reference__location 30 | - location__location_id 31 | - location__name 32 | - location__cost_rate 33 | - location__availability 34 | - location__modified_date 35 | - location__record_loaded_at 36 | - location__record_updated_at 37 | - location__record_version 38 | - location__record_valid_from 39 | - location__record_valid_to 40 | - location__is_current_record 41 | description: Product inventory and manufacturing locations. 42 | grain: _pit_hook__reference__location 43 | hook_name: frame__adventure_works__locations 44 | peripheral_name: adventure_works__locations 45 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__person_phones.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__person__individual: binary 3 | person_phone__business_entity_id: bigint 4 | person_phone__is_current_record: boolean 5 | person_phone__modified_date: date 6 | person_phone__phone_number: text 7 | person_phone__phone_number_type_id: bigint 8 | person_phone__record_loaded_at: timestamp 9 | person_phone__record_updated_at: timestamp 10 | person_phone__record_valid_from: timestamp 11 | person_phone__record_valid_to: timestamp 12 | person_phone__record_version: int 13 | column_descriptions: 14 | _pit_hook__person__individual: Point in time version of _hook__person__individual. 15 | person_phone__business_entity_id: Business entity identification number. Foreign 16 | key to Person.BusinessEntityID. 17 | person_phone__is_current_record: Flag indicating if this is the current valid version 18 | of the record 19 | person_phone__modified_date: Date and time the record was last updated. 20 | person_phone__phone_number: Telephone number identification number. 21 | person_phone__phone_number_type_id: Kind of phone number. Foreign key to PhoneNumberType.PhoneNumberTypeID. 22 | person_phone__record_loaded_at: Timestamp when this record was loaded into the system 23 | person_phone__record_updated_at: Timestamp when this record was last updated 24 | person_phone__record_valid_from: Timestamp from which this record version is valid 25 | person_phone__record_valid_to: Timestamp until which this record version is valid 26 | person_phone__record_version: Version number for this record 27 | columns: 28 | - _pit_hook__person__individual 29 | - person_phone__business_entity_id 30 | - person_phone__phone_number 31 | - person_phone__phone_number_type_id 32 | - person_phone__modified_date 33 | - person_phone__record_loaded_at 34 | - person_phone__record_updated_at 35 | - person_phone__record_version 36 | - person_phone__record_valid_from 37 | - person_phone__record_valid_to 38 | - person_phone__is_current_record 39 | description: Telephone number and type of a person. 40 | grain: _pit_hook__person__individual 41 | hook_name: frame__adventure_works__person_phones 42 | peripheral_name: adventure_works__person_phones 43 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__phone_number_types.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__phone_number_type: binary 3 | phone_number_type__is_current_record: boolean 4 | phone_number_type__modified_date: date 5 | phone_number_type__name: text 6 | phone_number_type__phone_number_type_id: bigint 7 | phone_number_type__record_loaded_at: timestamp 8 | phone_number_type__record_updated_at: timestamp 9 | phone_number_type__record_valid_from: timestamp 10 | phone_number_type__record_valid_to: timestamp 11 | phone_number_type__record_version: int 12 | column_descriptions: 13 | _pit_hook__reference__phone_number_type: Point in time version of _hook__reference__phone_number_type. 14 | phone_number_type__is_current_record: Flag indicating if this is the current valid 15 | version of the record 16 | phone_number_type__modified_date: Date and time the record was last updated. 17 | phone_number_type__name: Name of the telephone number type. 18 | phone_number_type__phone_number_type_id: Primary key for telephone number type records. 19 | phone_number_type__record_loaded_at: Timestamp when this record was loaded into 20 | the system 21 | phone_number_type__record_updated_at: Timestamp when this record was last updated 22 | phone_number_type__record_valid_from: Timestamp from which this record version is 23 | valid 24 | phone_number_type__record_valid_to: Timestamp until which this record version is 25 | valid 26 | phone_number_type__record_version: Version number for this record 27 | columns: 28 | - _pit_hook__reference__phone_number_type 29 | - phone_number_type__phone_number_type_id 30 | - phone_number_type__name 31 | - phone_number_type__modified_date 32 | - phone_number_type__record_loaded_at 33 | - phone_number_type__record_updated_at 34 | - phone_number_type__record_version 35 | - phone_number_type__record_valid_from 36 | - phone_number_type__record_valid_to 37 | - phone_number_type__is_current_record 38 | description: Type of phone number of a person. 39 | grain: _pit_hook__reference__phone_number_type 40 | hook_name: frame__adventure_works__phone_number_types 41 | peripheral_name: adventure_works__phone_number_types 42 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__product_categories.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__product_category: binary 3 | product_category__is_current_record: boolean 4 | product_category__modified_date: date 5 | product_category__name: text 6 | product_category__product_category_id: bigint 7 | product_category__record_loaded_at: timestamp 8 | product_category__record_updated_at: timestamp 9 | product_category__record_valid_from: timestamp 10 | product_category__record_valid_to: timestamp 11 | product_category__record_version: int 12 | product_category__rowguid: uniqueidentifier 13 | column_descriptions: 14 | _pit_hook__product_category: Point in time version of _hook__product_category. 15 | product_category__is_current_record: Flag indicating if this is the current valid 16 | version of the record 17 | product_category__modified_date: Date and time the record was last updated. 18 | product_category__name: Category description. 19 | product_category__product_category_id: Primary key for ProductCategory records. 20 | product_category__record_loaded_at: Timestamp when this record was loaded into the 21 | system 22 | product_category__record_updated_at: Timestamp when this record was last updated 23 | product_category__record_valid_from: Timestamp from which this record version is 24 | valid 25 | product_category__record_valid_to: Timestamp until which this record version is 26 | valid 27 | product_category__record_version: Version number for this record 28 | product_category__rowguid: ROWGUIDCOL number uniquely identifying the record. Used 29 | to support a merge replication sample. 30 | columns: 31 | - _pit_hook__product_category 32 | - product_category__product_category_id 33 | - product_category__name 34 | - product_category__rowguid 35 | - product_category__modified_date 36 | - product_category__record_loaded_at 37 | - product_category__record_updated_at 38 | - product_category__record_version 39 | - product_category__record_valid_from 40 | - product_category__record_valid_to 41 | - product_category__is_current_record 42 | description: High-level product categorization. 43 | grain: _pit_hook__product_category 44 | hook_name: frame__adventure_works__product_categories 45 | peripheral_name: adventure_works__product_categories 46 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__sales_reasons.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__sales_reason: binary 3 | sales_reason__is_current_record: boolean 4 | sales_reason__modified_date: date 5 | sales_reason__name: text 6 | sales_reason__reason_type: text 7 | sales_reason__record_loaded_at: timestamp 8 | sales_reason__record_updated_at: timestamp 9 | sales_reason__record_valid_from: timestamp 10 | sales_reason__record_valid_to: timestamp 11 | sales_reason__record_version: int 12 | sales_reason__sales_reason_id: bigint 13 | column_descriptions: 14 | _pit_hook__reference__sales_reason: Point in time version of _hook__reference__sales_reason. 15 | sales_reason__is_current_record: Flag indicating if this is the current valid version 16 | of the record 17 | sales_reason__modified_date: Date and time the record was last updated. 18 | sales_reason__name: Sales reason description. 19 | sales_reason__reason_type: Category the sales reason belongs to. 20 | sales_reason__record_loaded_at: Timestamp when this record was loaded into the system 21 | sales_reason__record_updated_at: Timestamp when this record was last updated 22 | sales_reason__record_valid_from: Timestamp from which this record version is valid 23 | sales_reason__record_valid_to: Timestamp until which this record version is valid 24 | sales_reason__record_version: Version number for this record 25 | sales_reason__sales_reason_id: Primary key for SalesReason records. 26 | columns: 27 | - _pit_hook__reference__sales_reason 28 | - sales_reason__sales_reason_id 29 | - sales_reason__name 30 | - sales_reason__reason_type 31 | - sales_reason__modified_date 32 | - sales_reason__record_loaded_at 33 | - sales_reason__record_updated_at 34 | - sales_reason__record_version 35 | - sales_reason__record_valid_from 36 | - sales_reason__record_valid_to 37 | - sales_reason__is_current_record 38 | description: Lookup table of customer purchase reasons. 39 | grain: _pit_hook__reference__sales_reason 40 | hook_name: frame__adventure_works__sales_reasons 41 | peripheral_name: adventure_works__sales_reasons 42 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__scrap_reasons.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__scrap_reason: binary 3 | scrap_reason__is_current_record: boolean 4 | scrap_reason__modified_date: date 5 | scrap_reason__name: text 6 | scrap_reason__record_loaded_at: timestamp 7 | scrap_reason__record_updated_at: timestamp 8 | scrap_reason__record_valid_from: timestamp 9 | scrap_reason__record_valid_to: timestamp 10 | scrap_reason__record_version: int 11 | scrap_reason__scrap_reason_id: bigint 12 | column_descriptions: 13 | _pit_hook__reference__scrap_reason: Point in time version of _hook__reference__scrap_reason. 14 | scrap_reason__is_current_record: Flag indicating if this is the current valid version 15 | of the record 16 | scrap_reason__modified_date: Date and time the record was last updated. 17 | scrap_reason__name: Failure description. 18 | scrap_reason__record_loaded_at: Timestamp when this record was loaded into the system 19 | scrap_reason__record_updated_at: Timestamp when this record was last updated 20 | scrap_reason__record_valid_from: Timestamp from which this record version is valid 21 | scrap_reason__record_valid_to: Timestamp until which this record version is valid 22 | scrap_reason__record_version: Version number for this record 23 | scrap_reason__scrap_reason_id: Primary key for ScrapReason records. 24 | columns: 25 | - _pit_hook__reference__scrap_reason 26 | - scrap_reason__scrap_reason_id 27 | - scrap_reason__name 28 | - scrap_reason__modified_date 29 | - scrap_reason__record_loaded_at 30 | - scrap_reason__record_updated_at 31 | - scrap_reason__record_version 32 | - scrap_reason__record_valid_from 33 | - scrap_reason__record_valid_to 34 | - scrap_reason__is_current_record 35 | description: Manufacturing failure reasons lookup table. 36 | grain: _pit_hook__reference__scrap_reason 37 | hook_name: frame__adventure_works__scrap_reasons 38 | peripheral_name: adventure_works__scrap_reasons 39 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__shifts.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__shift: binary 3 | shift__end_time: text 4 | shift__is_current_record: boolean 5 | shift__modified_date: date 6 | shift__name: text 7 | shift__record_loaded_at: timestamp 8 | shift__record_updated_at: timestamp 9 | shift__record_valid_from: timestamp 10 | shift__record_valid_to: timestamp 11 | shift__record_version: int 12 | shift__shift_id: bigint 13 | shift__start_time: text 14 | column_descriptions: 15 | _pit_hook__reference__shift: Point in time version of _hook__reference__shift. 16 | shift__end_time: Shift end time. ISO duration. 17 | shift__is_current_record: Flag indicating if this is the current valid version of 18 | the record 19 | shift__modified_date: Date and time the record was last updated. 20 | shift__name: Shift description. 21 | shift__record_loaded_at: Timestamp when this record was loaded into the system 22 | shift__record_updated_at: Timestamp when this record was last updated 23 | shift__record_valid_from: Timestamp from which this record version is valid 24 | shift__record_valid_to: Timestamp until which this record version is valid 25 | shift__record_version: Version number for this record 26 | shift__shift_id: Primary key for Shift records. 27 | shift__start_time: Shift start time. ISO duration. 28 | columns: 29 | - _pit_hook__reference__shift 30 | - shift__shift_id 31 | - shift__name 32 | - shift__start_time 33 | - shift__end_time 34 | - shift__modified_date 35 | - shift__record_loaded_at 36 | - shift__record_updated_at 37 | - shift__record_version 38 | - shift__record_valid_from 39 | - shift__record_valid_to 40 | - shift__is_current_record 41 | description: Work shift lookup table. 42 | grain: _pit_hook__reference__shift 43 | hook_name: frame__adventure_works__shifts 44 | peripheral_name: adventure_works__shifts 45 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__ship_methods.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__ship_method: binary 3 | ship_method__is_current_record: boolean 4 | ship_method__modified_date: date 5 | ship_method__name: text 6 | ship_method__record_loaded_at: timestamp 7 | ship_method__record_updated_at: timestamp 8 | ship_method__record_valid_from: timestamp 9 | ship_method__record_valid_to: timestamp 10 | ship_method__record_version: int 11 | ship_method__rowguid: uniqueidentifier 12 | ship_method__ship_base: double 13 | ship_method__ship_method_id: bigint 14 | ship_method__ship_rate: double 15 | column_descriptions: 16 | _pit_hook__ship_method: Point in time version of _hook__ship_method. 17 | ship_method__is_current_record: Flag indicating if this is the current valid version 18 | of the record 19 | ship_method__modified_date: Date and time the record was last updated. 20 | ship_method__name: Shipping company name. 21 | ship_method__record_loaded_at: Timestamp when this record was loaded into the system 22 | ship_method__record_updated_at: Timestamp when this record was last updated 23 | ship_method__record_valid_from: Timestamp from which this record version is valid 24 | ship_method__record_valid_to: Timestamp until which this record version is valid 25 | ship_method__record_version: Version number for this record 26 | ship_method__rowguid: ROWGUIDCOL number uniquely identifying the record. Used to 27 | support a merge replication sample. 28 | ship_method__ship_base: Minimum shipping charge. 29 | ship_method__ship_method_id: Primary key for ShipMethod records. 30 | ship_method__ship_rate: Shipping charge per pound. 31 | columns: 32 | - _pit_hook__ship_method 33 | - ship_method__ship_method_id 34 | - ship_method__name 35 | - ship_method__ship_base 36 | - ship_method__ship_rate 37 | - ship_method__rowguid 38 | - ship_method__modified_date 39 | - ship_method__record_loaded_at 40 | - ship_method__record_updated_at 41 | - ship_method__record_version 42 | - ship_method__record_valid_from 43 | - ship_method__record_valid_to 44 | - ship_method__is_current_record 45 | description: Shipping company lookup table. 46 | grain: _pit_hook__ship_method 47 | hook_name: frame__adventure_works__ship_methods 48 | peripheral_name: adventure_works__ship_methods 49 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__stores.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__store: binary 3 | store__business_entity_id: bigint 4 | store__demographics: xml 5 | store__is_current_record: boolean 6 | store__modified_date: date 7 | store__name: text 8 | store__record_loaded_at: timestamp 9 | store__record_updated_at: timestamp 10 | store__record_valid_from: timestamp 11 | store__record_valid_to: timestamp 12 | store__record_version: int 13 | store__rowguid: uniqueidentifier 14 | store__sales_person_id: bigint 15 | column_descriptions: 16 | _pit_hook__store: Point in time version of _hook__store. 17 | store__business_entity_id: Primary key. Foreign key to Customer.BusinessEntityID. 18 | store__demographics: Demographic information about the store such as the number 19 | of employees, annual sales and store type. 20 | store__is_current_record: Flag indicating if this is the current valid version of 21 | the record 22 | store__modified_date: Date and time the record was last updated. 23 | store__name: Name of the store. 24 | store__record_loaded_at: Timestamp when this record was loaded into the system 25 | store__record_updated_at: Timestamp when this record was last updated 26 | store__record_valid_from: Timestamp from which this record version is valid 27 | store__record_valid_to: Timestamp until which this record version is valid 28 | store__record_version: Version number for this record 29 | store__rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support 30 | a merge replication sample. 31 | store__sales_person_id: ID of the sales person assigned to the customer. Foreign 32 | key to SalesPerson.BusinessEntityID. 33 | columns: 34 | - _pit_hook__store 35 | - store__business_entity_id 36 | - store__name 37 | - store__sales_person_id 38 | - store__demographics 39 | - store__rowguid 40 | - store__modified_date 41 | - store__record_loaded_at 42 | - store__record_updated_at 43 | - store__record_version 44 | - store__record_valid_from 45 | - store__record_valid_to 46 | - store__is_current_record 47 | description: Customers (resellers) of Adventure Works products. 48 | grain: _pit_hook__store 49 | hook_name: frame__adventure_works__stores 50 | peripheral_name: adventure_works__stores 51 | -------------------------------------------------------------------------------- /models/blueprints/peripherals/adventure_works__unit_measures.yml: -------------------------------------------------------------------------------- 1 | column_data_types: 2 | _pit_hook__reference__unit_measure: binary 3 | unit_measure__is_current_record: boolean 4 | unit_measure__modified_date: date 5 | unit_measure__name: text 6 | unit_measure__record_loaded_at: timestamp 7 | unit_measure__record_updated_at: timestamp 8 | unit_measure__record_valid_from: timestamp 9 | unit_measure__record_valid_to: timestamp 10 | unit_measure__record_version: int 11 | unit_measure__unit_measure_code: text 12 | column_descriptions: 13 | _pit_hook__reference__unit_measure: Point in time version of _hook__reference__unit_measure. 14 | unit_measure__is_current_record: Flag indicating if this is the current valid version 15 | of the record 16 | unit_measure__modified_date: Date and time the record was last updated. 17 | unit_measure__name: Unit of measure description. 18 | unit_measure__record_loaded_at: Timestamp when this record was loaded into the system 19 | unit_measure__record_updated_at: Timestamp when this record was last updated 20 | unit_measure__record_valid_from: Timestamp from which this record version is valid 21 | unit_measure__record_valid_to: Timestamp until which this record version is valid 22 | unit_measure__record_version: Version number for this record 23 | unit_measure__unit_measure_code: Primary key. 24 | columns: 25 | - _pit_hook__reference__unit_measure 26 | - unit_measure__unit_measure_code 27 | - unit_measure__name 28 | - unit_measure__modified_date 29 | - unit_measure__record_loaded_at 30 | - unit_measure__record_updated_at 31 | - unit_measure__record_version 32 | - unit_measure__record_valid_from 33 | - unit_measure__record_valid_to 34 | - unit_measure__is_current_record 35 | description: Unit of measure lookup table. 36 | grain: _pit_hook__reference__unit_measure 37 | hook_name: frame__adventure_works__unit_measures 38 | peripheral_name: adventure_works__unit_measures 39 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__address_types.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | address_type_id: Primary key for AddressType records. 4 | modified_date: Date and time the record was last updated. 5 | name: Address type description. For example, Billing, Home, or Shipping. 6 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 7 | replication sample. 8 | columns: 9 | - name: address_type_id 10 | type: bigint 11 | - name: name 12 | type: text 13 | - name: rowguid 14 | type: uniqueidentifier 15 | - name: modified_date 16 | type: date 17 | - name: _dlt_load_id 18 | type: text 19 | description: Types of addresses stored in the Address table. 20 | name: raw__adventure_works__address_types 21 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__addresses.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | address_id: Primary key for Address records. 4 | address_line1: First street address line. 5 | address_line2: Second street address line. 6 | city: Name of the city. 7 | modified_date: Date and time the record was last updated. 8 | postal_code: Postal code for the street address. 9 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 10 | replication sample. 11 | state_province_id: Unique identification number for the state or province. Foreign 12 | key to StateProvince table. 13 | columns: 14 | - name: address_id 15 | type: bigint 16 | - name: address_line1 17 | type: text 18 | - name: city 19 | type: text 20 | - name: state_province_id 21 | type: bigint 22 | - name: postal_code 23 | type: text 24 | - name: rowguid 25 | type: uniqueidentifier 26 | - name: modified_date 27 | type: date 28 | - name: _dlt_load_id 29 | type: text 30 | - name: address_line2 31 | type: text 32 | description: Street address information for customers, employees, and vendors. 33 | name: raw__adventure_works__addresses 34 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__bill_of_materials.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | bill_of_materials_id: Primary key for BillOfMaterials records. 4 | bomlevel: Indicates the depth the component is from its parent (AssemblyID). 5 | component_id: Component identification number. Foreign key to Product.ProductID. 6 | end_date: Date the component stopped being used in the assembly item. 7 | modified_date: Date and time the record was last updated. 8 | per_assembly_qty: Quantity of the component needed to create the assembly. 9 | product_assembly_id: Parent product identification number. Foreign key to Product.ProductID. 10 | start_date: Date the component started being used in the assembly item. 11 | unit_measure_code: Standard code identifying the unit of measure for the quantity. 12 | columns: 13 | - name: bill_of_materials_id 14 | type: bigint 15 | - name: product_assembly_id 16 | type: bigint 17 | - name: component_id 18 | type: bigint 19 | - name: start_date 20 | type: date 21 | - name: unit_measure_code 22 | type: text 23 | - name: bomlevel 24 | type: bigint 25 | - name: per_assembly_qty 26 | type: double 27 | - name: modified_date 28 | type: date 29 | - name: _dlt_load_id 30 | type: text 31 | - name: end_date 32 | type: date 33 | description: Items required to make bicycles and bicycle subassemblies. It identifies 34 | the hierarchical relationship between a parent product and its components. 35 | name: raw__adventure_works__bill_of_materials 36 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__business_entity_addresses.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | address_id: Primary key. Foreign key to Address.AddressID. 4 | address_type_id: Primary key. Foreign key to AddressType.AddressTypeID. 5 | business_entity_id: Primary key. Foreign key to BusinessEntity.BusinessEntityID. 6 | modified_date: Date and time the record was last updated. 7 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 8 | replication sample. 9 | columns: 10 | - name: business_entity_id 11 | type: bigint 12 | - name: address_id 13 | type: bigint 14 | - name: address_type_id 15 | type: bigint 16 | - name: rowguid 17 | type: uniqueidentifier 18 | - name: modified_date 19 | type: date 20 | - name: _dlt_load_id 21 | type: text 22 | description: Cross-reference table mapping customers, vendors, and employees to their 23 | addresses. 24 | name: raw__adventure_works__business_entity_addresses 25 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__business_entity_contacts.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Primary key. Foreign key to BusinessEntity.BusinessEntityID. 4 | contact_type_id: Primary key. Foreign key to ContactType.ContactTypeID. 5 | modified_date: Date and time the record was last updated. 6 | person_id: Primary key. Foreign key to Person.BusinessEntityID. 7 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 8 | replication sample. 9 | columns: 10 | - name: business_entity_id 11 | type: bigint 12 | - name: person_id 13 | type: bigint 14 | - name: contact_type_id 15 | type: bigint 16 | - name: rowguid 17 | type: uniqueidentifier 18 | - name: modified_date 19 | type: date 20 | - name: _dlt_load_id 21 | type: text 22 | description: Cross-reference table mapping stores, vendors, and employees to people. 23 | name: raw__adventure_works__business_entity_contacts 24 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__contact_types.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | contact_type_id: Primary key for ContactType records. 4 | modified_date: Date and time the record was last updated. 5 | name: Contact type description. 6 | columns: 7 | - name: contact_type_id 8 | type: bigint 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Lookup table containing the types of business entity contacts. 16 | name: raw__adventure_works__contact_types 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__country_regions.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | country_region_code: ISO standard code for countries and regions. 4 | modified_date: Date and time the record was last updated. 5 | name: Country or region name. 6 | columns: 7 | - name: country_region_code 8 | type: text 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Lookup table containing the ISO standard codes for countries and regions. 16 | name: raw__adventure_works__country_regions 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__credit_cards.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | card_number: Credit card number. 4 | card_type: Credit card name. 5 | credit_card_id: Primary key for CreditCard records. 6 | exp_month: Credit card expiration month. 7 | exp_year: Credit card expiration year. 8 | modified_date: Date and time the record was last updated. 9 | columns: 10 | - name: credit_card_id 11 | type: bigint 12 | - name: card_type 13 | type: text 14 | - name: card_number 15 | type: text 16 | - name: exp_month 17 | type: bigint 18 | - name: exp_year 19 | type: bigint 20 | - name: modified_date 21 | type: date 22 | - name: _dlt_load_id 23 | type: text 24 | description: Customer credit card information. 25 | name: raw__adventure_works__credit_cards 26 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__cultures.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | culture_id: Primary key for Culture records. 4 | modified_date: Date and time the record was last updated. 5 | name: Culture description. 6 | columns: 7 | - name: culture_id 8 | type: text 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Lookup table containing the languages in which some AdventureWorks data 16 | is stored. 17 | name: raw__adventure_works__cultures 18 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__currencies.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | currency_code: The ISO code for the Currency. 4 | modified_date: Date and time the record was last updated. 5 | name: Currency name. 6 | columns: 7 | - name: currency_code 8 | type: text 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Lookup table containing standard ISO currencies. 16 | name: raw__adventure_works__currencies 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__currency_rates.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | average_rate: Average exchange rate for the day. 4 | currency_rate_date: Date and time the exchange rate was obtained. 5 | currency_rate_id: Primary key for CurrencyRate records. 6 | end_of_day_rate: Final exchange rate for the day. 7 | from_currency_code: Exchange rate was converted from this currency code. 8 | modified_date: Date and time the record was last updated. 9 | to_currency_code: Exchange rate was converted to this currency code. 10 | columns: 11 | - name: currency_rate_id 12 | type: bigint 13 | - name: currency_rate_date 14 | type: date 15 | - name: from_currency_code 16 | type: text 17 | - name: to_currency_code 18 | type: text 19 | - name: average_rate 20 | type: double 21 | - name: end_of_day_rate 22 | type: double 23 | - name: modified_date 24 | type: date 25 | - name: _dlt_load_id 26 | type: text 27 | description: Currency exchange rates. 28 | name: raw__adventure_works__currency_rates 29 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__customers.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | account_number: Unique number identifying the customer assigned by the accounting 4 | system. 5 | customer_id: Primary key. 6 | modified_date: Date and time the record was last updated. 7 | person_id: Foreign key to Person.BusinessEntityID. 8 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 9 | replication sample. 10 | store_id: Foreign key to Store.BusinessEntityID. 11 | territory_id: ID of the territory in which the customer is located. Foreign key 12 | to SalesTerritory.SalesTerritoryID. 13 | columns: 14 | - name: customer_id 15 | type: bigint 16 | - name: store_id 17 | type: bigint 18 | - name: territory_id 19 | type: bigint 20 | - name: account_number 21 | type: text 22 | - name: rowguid 23 | type: uniqueidentifier 24 | - name: modified_date 25 | type: date 26 | - name: _dlt_load_id 27 | type: text 28 | - name: person_id 29 | type: bigint 30 | description: Current customer information. Also see the Person and Store tables. 31 | name: raw__adventure_works__customers 32 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__departments.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | department_id: Primary key for Department records. 4 | group_name: Name of the group to which the department belongs. 5 | modified_date: Date and time the record was last updated. 6 | name: Name of the department. 7 | columns: 8 | - name: department_id 9 | type: bigint 10 | - name: name 11 | type: text 12 | - name: group_name 13 | type: text 14 | - name: modified_date 15 | type: date 16 | - name: _dlt_load_id 17 | type: text 18 | description: Lookup table containing the departments within the Adventure Works Cycles 19 | company. 20 | name: raw__adventure_works__departments 21 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__email_addresses.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Primary key. Person associated with this email address. Foreign 4 | key to Person.BusinessEntityID. 5 | email: E-mail address for the person. 6 | email_address_id: Primary key. ID of this email address. 7 | modified_date: Date and time the record was last updated. 8 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 9 | replication sample. 10 | columns: 11 | - name: business_entity_id 12 | type: bigint 13 | - name: email_address_id 14 | type: bigint 15 | - name: email 16 | type: text 17 | - name: rowguid 18 | type: uniqueidentifier 19 | - name: modified_date 20 | type: date 21 | - name: _dlt_load_id 22 | type: text 23 | description: Where to send a person email. 24 | name: raw__adventure_works__email_addresses 25 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__employee_department_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Employee identification number. Foreign key to Employee.BusinessEntityID. 4 | department_id: Department in which the employee worked including currently. Foreign 5 | key to Department.DepartmentID. 6 | end_date: Date the employee left the department. NULL = Current department. 7 | modified_date: Date and time the record was last updated. 8 | shift_id: Identifies which 8-hour shift the employee works. Foreign key to Shift.Shift.ID. 9 | start_date: Date the employee started work in the department. 10 | columns: 11 | - name: business_entity_id 12 | type: bigint 13 | - name: department_id 14 | type: bigint 15 | - name: shift_id 16 | type: bigint 17 | - name: start_date 18 | type: timestamp 19 | - name: modified_date 20 | type: date 21 | - name: _dlt_load_id 22 | type: text 23 | - name: end_date 24 | type: date 25 | description: Employee department transfers. 26 | name: raw__adventure_works__employee_department_histories 27 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__employee_pay_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Employee identification number. Foreign key to Employee.BusinessEntityID. 4 | modified_date: Date and time the record was last updated. 5 | pay_frequency: 1 = Salary received monthly, 2 = Salary received biweekly. 6 | rate: Salary hourly rate. 7 | rate_change_date: Date the change in pay is effective. 8 | columns: 9 | - name: business_entity_id 10 | type: bigint 11 | - name: rate_change_date 12 | type: timestamp 13 | - name: rate 14 | type: double 15 | - name: pay_frequency 16 | type: bigint 17 | - name: modified_date 18 | type: date 19 | - name: _dlt_load_id 20 | type: text 21 | description: Employee pay history. 22 | name: raw__adventure_works__employee_pay_histories 23 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__employees.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | birth_date: Date of birth. 4 | business_entity_id: Primary key for Employee records. Foreign key to BusinessEntity.BusinessEntityID. 5 | current_flag: 0 = Inactive, 1 = Active. 6 | gender: M = Male, F = Female. 7 | hire_date: Employee hired on this date. 8 | job_title: Work title such as Buyer or Sales Representative. 9 | login_id: Network login. 10 | marital_status: M = Married, S = Single. 11 | modified_date: Date and time the record was last updated. 12 | national_idnumber: Unique national identification number such as a social security 13 | number. 14 | organization_level: The depth of the employee in the corporate hierarchy. 15 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 16 | replication sample. 17 | salaried_flag: Job classification. 0 = Hourly, not exempt from collective bargaining. 18 | 1 = Salaried, exempt from collective bargaining. 19 | sick_leave_hours: Number of available sick leave hours. 20 | vacation_hours: Number of available vacation hours. 21 | columns: 22 | - name: business_entity_id 23 | type: bigint 24 | - name: national_idnumber 25 | type: text 26 | - name: login_id 27 | type: text 28 | - name: job_title 29 | type: text 30 | - name: birth_date 31 | type: date 32 | - name: marital_status 33 | type: text 34 | - name: gender 35 | type: text 36 | - name: hire_date 37 | type: date 38 | - name: salaried_flag 39 | type: bool 40 | - name: vacation_hours 41 | type: bigint 42 | - name: sick_leave_hours 43 | type: bigint 44 | - name: current_flag 45 | type: bool 46 | - name: rowguid 47 | type: uniqueidentifier 48 | - name: modified_date 49 | type: date 50 | - name: _dlt_load_id 51 | type: text 52 | - name: organization_level 53 | type: bigint 54 | description: Employee information. 55 | name: raw__adventure_works__employees 56 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__illustrations.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | diagram: Illustrations used in manufacturing instructions. Stored as XML. 4 | illustration_id: Primary key for Illustration records. 5 | modified_date: Date and time the record was last updated. 6 | columns: 7 | - name: illustration_id 8 | type: bigint 9 | - name: diagram 10 | type: xml 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Bicycle assembly diagrams. 16 | name: raw__adventure_works__illustrations 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__job_candidates.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Employee identification number if applicant was hired. Foreign 4 | key to Employee.BusinessEntityID. 5 | job_candidate_id: Primary key for JobCandidate records. 6 | modified_date: Date and time the record was last updated. 7 | resume: "R\xE9sum\xE9 in XML format." 8 | columns: 9 | - name: job_candidate_id 10 | type: bigint 11 | - name: resume 12 | type: xml 13 | - name: modified_date 14 | type: date 15 | - name: _dlt_load_id 16 | type: text 17 | - name: business_entity_id 18 | type: bigint 19 | description: "R\xE9sum\xE9s submitted to Human Resources by job applicants." 20 | name: raw__adventure_works__job_candidates 21 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__locations.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | availability: Work capacity (in hours) of the manufacturing location. 4 | cost_rate: Standard hourly cost of the manufacturing location. 5 | location_id: Primary key for Location records. 6 | modified_date: Date and time the record was last updated. 7 | name: Location description. 8 | columns: 9 | - name: location_id 10 | type: bigint 11 | - name: name 12 | type: text 13 | - name: cost_rate 14 | type: double 15 | - name: availability 16 | type: double 17 | - name: modified_date 18 | type: date 19 | - name: _dlt_load_id 20 | type: text 21 | description: Product inventory and manufacturing locations. 22 | name: raw__adventure_works__locations 23 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__person_phones.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Business entity identification number. Foreign key to Person.BusinessEntityID. 4 | modified_date: Date and time the record was last updated. 5 | phone_number: Telephone number identification number. 6 | phone_number_type_id: Kind of phone number. Foreign key to PhoneNumberType.PhoneNumberTypeID. 7 | columns: 8 | - name: business_entity_id 9 | type: bigint 10 | - name: phone_number 11 | type: text 12 | - name: phone_number_type_id 13 | type: bigint 14 | - name: modified_date 15 | type: date 16 | - name: _dlt_load_id 17 | type: text 18 | description: Telephone number and type of a person. 19 | name: raw__adventure_works__person_phones 20 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__persons.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | additional_contact_info: Additional contact information about the person stored 4 | in xml format. 5 | business_entity_id: Primary key for Person records. 6 | demographics: Personal information such as hobbies, and income collected from online 7 | shoppers. Used for sales analysis. 8 | email_promotion: 0 = Contact does not wish to receive e-mail promotions, 1 = Contact 9 | does wish to receive e-mail promotions from AdventureWorks, 2 = Contact does wish 10 | to receive e-mail promotions from AdventureWorks and selected partners. 11 | first_name: First name of the person. 12 | last_name: Last name of the person. 13 | middle_name: Middle name or middle initial of the person. 14 | modified_date: Date and time the record was last updated. 15 | name_style: 0 = The data in FirstName and LastName are stored in western style (first 16 | name, last name) order. 1 = Eastern style (last name, first name) order. 17 | person_type: 'Primary type of person: SC = Store Contact, IN = Individual (retail) 18 | customer, SP = Sales person, EM = Employee (non-sales), VC = Vendor contact, GC 19 | = General contact.' 20 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 21 | replication sample. 22 | suffix: Surname suffix. For example, Sr. or Jr. 23 | title: A courtesy title. For example, Mr. or Ms. 24 | columns: 25 | - name: business_entity_id 26 | type: bigint 27 | - name: person_type 28 | type: text 29 | - name: name_style 30 | type: bool 31 | - name: first_name 32 | type: text 33 | - name: middle_name 34 | type: text 35 | - name: last_name 36 | type: text 37 | - name: email_promotion 38 | type: bigint 39 | - name: demographics 40 | type: xml 41 | - name: rowguid 42 | type: uniqueidentifier 43 | - name: modified_date 44 | type: date 45 | - name: _dlt_load_id 46 | type: text 47 | - name: title 48 | type: text 49 | - name: suffix 50 | type: text 51 | - name: additional_contact_info 52 | type: xml 53 | description: 'Human beings involved with AdventureWorks: employees, customer contacts, 54 | and vendor contacts.' 55 | name: raw__adventure_works__persons 56 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__phone_number_types.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Name of the telephone number type. 5 | phone_number_type_id: Primary key for telephone number type records. 6 | columns: 7 | - name: phone_number_type_id 8 | type: bigint 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Type of phone number of a person. 16 | name: raw__adventure_works__phone_number_types 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_categories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Category description. 5 | product_category_id: Primary key for ProductCategory records. 6 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 7 | replication sample. 8 | columns: 9 | - name: product_category_id 10 | type: bigint 11 | - name: name 12 | type: text 13 | - name: rowguid 14 | type: uniqueidentifier 15 | - name: modified_date 16 | type: date 17 | - name: _dlt_load_id 18 | type: text 19 | description: High-level product categorization. 20 | name: raw__adventure_works__product_categories 21 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_cost_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | end_date: Product cost end date. 4 | modified_date: Date and time the record was last updated. 5 | product_id: Product identification number. Foreign key to Product.ProductID. 6 | standard_cost: Standard cost of the product. 7 | start_date: Product cost start date. 8 | columns: 9 | - name: product_id 10 | type: bigint 11 | - name: start_date 12 | type: timestamp 13 | - name: end_date 14 | type: date 15 | - name: standard_cost 16 | type: double 17 | - name: modified_date 18 | type: date 19 | - name: _dlt_load_id 20 | type: text 21 | description: Changes in the cost of a product over time. 22 | name: raw__adventure_works__product_cost_histories 23 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_descriptions.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | description: Description of the product. 4 | modified_date: Date and time the record was last updated. 5 | product_description_id: Primary key for ProductDescription records. 6 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 7 | replication sample. 8 | columns: 9 | - name: product_description_id 10 | type: bigint 11 | - name: description 12 | type: text 13 | - name: rowguid 14 | type: uniqueidentifier 15 | - name: modified_date 16 | type: date 17 | - name: _dlt_load_id 18 | type: text 19 | description: Product descriptions in several languages. 20 | name: raw__adventure_works__product_descriptions 21 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_inventories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | bin: Storage container on a shelf in an inventory location. 4 | location_id: Inventory location identification number. Foreign key to Location.LocationID. 5 | modified_date: Date and time the record was last updated. 6 | product_id: Product identification number. Foreign key to Product.ProductID. 7 | quantity: Quantity of products in the inventory location. 8 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 9 | replication sample. 10 | shelf: Storage compartment within an inventory location. 11 | columns: 12 | - name: product_id 13 | type: bigint 14 | - name: location_id 15 | type: bigint 16 | - name: shelf 17 | type: text 18 | - name: bin 19 | type: bigint 20 | - name: quantity 21 | type: bigint 22 | - name: rowguid 23 | type: uniqueidentifier 24 | - name: modified_date 25 | type: date 26 | - name: _dlt_load_id 27 | type: text 28 | description: Product inventory information. 29 | name: raw__adventure_works__product_inventories 30 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_list_price_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | end_date: List price end date. 4 | list_price: Product list price. 5 | modified_date: Date and time the record was last updated. 6 | product_id: Product identification number. Foreign key to Product.ProductID. 7 | start_date: List price start date. 8 | columns: 9 | - name: product_id 10 | type: bigint 11 | - name: start_date 12 | type: timestamp 13 | - name: end_date 14 | type: date 15 | - name: list_price 16 | type: double 17 | - name: modified_date 18 | type: date 19 | - name: _dlt_load_id 20 | type: text 21 | description: Changes in the list price of a product over time. 22 | name: raw__adventure_works__product_list_price_histories 23 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_model_illustrations.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | illustration_id: Primary key. Foreign key to Illustration.IllustrationID. 4 | modified_date: Date and time the record was last updated. 5 | product_model_id: Primary key. Foreign key to ProductModel.ProductModelID. 6 | columns: 7 | - name: product_model_id 8 | type: bigint 9 | - name: illustration_id 10 | type: bigint 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Cross-reference table mapping product models and illustrations. 16 | name: raw__adventure_works__product_model_illustrations 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_models.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | catalog_description: Detailed product catalog information in xml format. 4 | instructions: Manufacturing instructions in xml format. 5 | modified_date: Date and time the record was last updated. 6 | name: Product model description. 7 | product_model_id: Primary key for ProductModel records. 8 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 9 | replication sample. 10 | columns: 11 | - name: product_model_id 12 | type: bigint 13 | - name: name 14 | type: text 15 | - name: rowguid 16 | type: uniqueidentifier 17 | - name: modified_date 18 | type: date 19 | - name: _dlt_load_id 20 | type: text 21 | - name: catalog_description 22 | type: xml 23 | - name: instructions 24 | type: xml 25 | description: Product model classification. 26 | name: raw__adventure_works__product_models 27 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_photos.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | large_photo: Large image of the product. 4 | large_photo_file_name: Large image file name. 5 | modified_date: Date and time the record was last updated. 6 | product_photo_id: Primary key for ProductPhoto records. 7 | thumb_nail_photo: Small image of the product. 8 | thumbnail_photo_file_name: Small image file name. 9 | columns: 10 | - name: product_photo_id 11 | type: bigint 12 | - name: thumb_nail_photo 13 | type: binary 14 | - name: thumbnail_photo_file_name 15 | type: text 16 | - name: large_photo 17 | type: binary 18 | - name: large_photo_file_name 19 | type: text 20 | - name: modified_date 21 | type: date 22 | - name: _dlt_load_id 23 | type: text 24 | description: Product images. 25 | name: raw__adventure_works__product_photos 26 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_reviews.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | comments: Reviewer's comments. 4 | email_address: Reviewer's e-mail address. 5 | modified_date: Date and time the record was last updated. 6 | product_id: Product identification number. Foreign key to Product.ProductID. 7 | product_review_id: Primary key for ProductReview records. 8 | rating: Product rating given by the reviewer. Scale is 1 to 5 with 5 as the highest 9 | rating. 10 | review_date: Date review was submitted. 11 | reviewer_name: Name of the reviewer. 12 | columns: 13 | - name: product_review_id 14 | type: bigint 15 | - name: product_id 16 | type: bigint 17 | - name: reviewer_name 18 | type: text 19 | - name: review_date 20 | type: date 21 | - name: email_address 22 | type: text 23 | - name: rating 24 | type: bigint 25 | - name: comments 26 | type: text 27 | - name: modified_date 28 | type: date 29 | - name: _dlt_load_id 30 | type: text 31 | description: Customer reviews of products they have purchased. 32 | name: raw__adventure_works__product_reviews 33 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_subcategories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Subcategory description. 5 | product_category_id: Product category identification number. Foreign key to ProductCategory.ProductCategoryID. 6 | product_subcategory_id: Primary key for ProductSubcategory records. 7 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 8 | replication sample. 9 | columns: 10 | - name: product_subcategory_id 11 | type: bigint 12 | - name: product_category_id 13 | type: bigint 14 | - name: name 15 | type: text 16 | - name: rowguid 17 | type: uniqueidentifier 18 | - name: modified_date 19 | type: date 20 | - name: _dlt_load_id 21 | type: text 22 | description: Product subcategories. See ProductCategory table. 23 | name: raw__adventure_works__product_subcategories 24 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__product_vendors.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | average_lead_time: The average span of time (in days) between placing an order with 4 | the vendor and receiving the purchased product. 5 | business_entity_id: Primary key. Foreign key to Vendor.BusinessEntityID. 6 | last_receipt_cost: The selling price when last purchased. 7 | last_receipt_date: Date the product was last received by the vendor. 8 | max_order_qty: The maximum quantity that should be ordered. 9 | min_order_qty: The minimum quantity that should be ordered. 10 | modified_date: Date and time the record was last updated. 11 | on_order_qty: The quantity currently on order. 12 | product_id: Primary key. Foreign key to Product.ProductID. 13 | standard_price: The vendor's usual selling price. 14 | unit_measure_code: The product's unit of measure. 15 | columns: 16 | - name: product_id 17 | type: bigint 18 | - name: business_entity_id 19 | type: bigint 20 | - name: average_lead_time 21 | type: bigint 22 | - name: standard_price 23 | type: double 24 | - name: last_receipt_cost 25 | type: double 26 | - name: last_receipt_date 27 | type: date 28 | - name: min_order_qty 29 | type: bigint 30 | - name: max_order_qty 31 | type: bigint 32 | - name: unit_measure_code 33 | type: text 34 | - name: modified_date 35 | type: date 36 | - name: _dlt_load_id 37 | type: text 38 | - name: on_order_qty 39 | type: bigint 40 | description: Cross-reference table mapping vendors with the products they supply. 41 | name: raw__adventure_works__product_vendors 42 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__purchase_order_details.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | due_date: Date the product is expected to be received. 4 | line_total: Per product subtotal. Computed as OrderQty * UnitPrice. 5 | modified_date: Date and time the record was last updated. 6 | order_qty: Quantity ordered. 7 | product_id: Product identification number. Foreign key to Product.ProductID. 8 | purchase_order_detail_id: Primary key. One line number per purchased product. 9 | purchase_order_id: Primary key. Foreign key to PurchaseOrderHeader.PurchaseOrderID. 10 | received_qty: Quantity actually received from the vendor. 11 | rejected_qty: Quantity rejected during inspection. 12 | stocked_qty: Quantity accepted into inventory. Computed as ReceivedQty - RejectedQty. 13 | unit_price: Vendor's selling price of a single product. 14 | columns: 15 | - name: purchase_order_id 16 | type: bigint 17 | - name: purchase_order_detail_id 18 | type: bigint 19 | - name: due_date 20 | type: date 21 | - name: order_qty 22 | type: bigint 23 | - name: product_id 24 | type: bigint 25 | - name: unit_price 26 | type: double 27 | - name: line_total 28 | type: double 29 | - name: received_qty 30 | type: double 31 | - name: rejected_qty 32 | type: double 33 | - name: stocked_qty 34 | type: double 35 | - name: modified_date 36 | type: date 37 | - name: _dlt_load_id 38 | type: text 39 | description: Individual products associated with a specific purchase order. See PurchaseOrderHeader. 40 | name: raw__adventure_works__purchase_order_details 41 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__purchase_order_headers.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | employee_id: Employee who created the purchase order. Foreign key to Employee.BusinessEntityID. 4 | freight: Shipping cost. 5 | modified_date: Date and time the record was last updated. 6 | order_date: Purchase order creation date. 7 | purchase_order_id: Primary key. 8 | revision_number: Incremental number to track changes to the purchase order over 9 | time. 10 | ship_date: Estimated shipment date from the vendor. 11 | ship_method_id: Shipping method. Foreign key to ShipMethod.ShipMethodID. 12 | status: Order current status. 1 = Pending; 2 = Approved; 3 = Rejected; 4 = Complete. 13 | sub_total: Purchase order subtotal. Computed as SUM(PurchaseOrderDetail.LineTotal) 14 | for the appropriate PurchaseOrderID. 15 | tax_amt: Tax amount. 16 | total_due: Total due to vendor. Computed as Subtotal + TaxAmt + Freight. 17 | vendor_id: Vendor with whom the purchase order is placed. Foreign key to Vendor.BusinessEntityID. 18 | columns: 19 | - name: purchase_order_id 20 | type: bigint 21 | - name: revision_number 22 | type: bigint 23 | - name: status 24 | type: bigint 25 | - name: employee_id 26 | type: bigint 27 | - name: vendor_id 28 | type: bigint 29 | - name: ship_method_id 30 | type: bigint 31 | - name: order_date 32 | type: date 33 | - name: ship_date 34 | type: date 35 | - name: sub_total 36 | type: double 37 | - name: tax_amt 38 | type: double 39 | - name: freight 40 | type: double 41 | - name: total_due 42 | type: double 43 | - name: modified_date 44 | type: date 45 | - name: _dlt_load_id 46 | type: text 47 | description: General purchase order information. See PurchaseOrderDetail. 48 | name: raw__adventure_works__purchase_order_headers 49 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_order_details.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | carrier_tracking_number: Shipment tracking number supplied by the shipper. 4 | line_total: Per product subtotal. Computed as UnitPrice * (1 - UnitPriceDiscount) 5 | * OrderQty. 6 | modified_date: Date and time the record was last updated. 7 | order_qty: Quantity ordered per product. 8 | product_id: Product sold to customer. Foreign key to Product.ProductID. 9 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 10 | replication sample. 11 | sales_order_detail_id: Primary key. One incremental unique number per product sold. 12 | sales_order_id: Primary key. Foreign key to SalesOrderHeader.SalesOrderID. 13 | special_offer_id: Promotional code. Foreign key to SpecialOffer.SpecialOfferID. 14 | unit_price: Selling price of a single product. 15 | unit_price_discount: Discount amount. 16 | columns: 17 | - name: sales_order_id 18 | type: bigint 19 | - name: sales_order_detail_id 20 | type: bigint 21 | - name: carrier_tracking_number 22 | type: text 23 | - name: order_qty 24 | type: bigint 25 | - name: product_id 26 | type: bigint 27 | - name: special_offer_id 28 | type: bigint 29 | - name: unit_price 30 | type: double 31 | - name: unit_price_discount 32 | type: double 33 | - name: line_total 34 | type: double 35 | - name: rowguid 36 | type: uniqueidentifier 37 | - name: modified_date 38 | type: date 39 | - name: _dlt_load_id 40 | type: text 41 | description: Individual products associated with a specific sales order. See SalesOrderHeader. 42 | name: raw__adventure_works__sales_order_details 43 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_person_quota_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Sales person identification number. Foreign key to SalesPerson.BusinessEntityID. 4 | modified_date: Date and time the record was last updated. 5 | quota_date: Sales quota date. 6 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 7 | replication sample. 8 | sales_quota: Sales quota amount. 9 | columns: 10 | - name: business_entity_id 11 | type: bigint 12 | - name: quota_date 13 | type: date 14 | - name: sales_quota 15 | type: double 16 | - name: rowguid 17 | type: uniqueidentifier 18 | - name: modified_date 19 | type: date 20 | - name: _dlt_load_id 21 | type: text 22 | description: Sales performance tracking. 23 | name: raw__adventure_works__sales_person_quota_histories 24 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_persons.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | bonus: Bonus due if quota is met. 4 | business_entity_id: Primary key for SalesPerson records. Foreign key to Employee.BusinessEntityID. 5 | commission_pct: Commission percent received per sale. 6 | modified_date: Date and time the record was last updated. 7 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 8 | replication sample. 9 | sales_last_year: Sales total of previous year. 10 | sales_quota: Projected yearly sales. 11 | sales_ytd: Sales total year to date. 12 | territory_id: Territory currently assigned to. Foreign key to SalesTerritory.SalesTerritoryID. 13 | columns: 14 | - name: business_entity_id 15 | type: bigint 16 | - name: bonus 17 | type: double 18 | - name: commission_pct 19 | type: double 20 | - name: sales_ytd 21 | type: double 22 | - name: sales_last_year 23 | type: double 24 | - name: rowguid 25 | type: uniqueidentifier 26 | - name: modified_date 27 | type: date 28 | - name: _dlt_load_id 29 | type: text 30 | - name: territory_id 31 | type: bigint 32 | - name: sales_quota 33 | type: double 34 | description: Sales representative current information. 35 | name: raw__adventure_works__sales_persons 36 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_reasons.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Sales reason description. 5 | reason_type: Category the sales reason belongs to. 6 | sales_reason_id: Primary key for SalesReason records. 7 | columns: 8 | - name: sales_reason_id 9 | type: bigint 10 | - name: name 11 | type: text 12 | - name: reason_type 13 | type: text 14 | - name: modified_date 15 | type: date 16 | - name: _dlt_load_id 17 | type: text 18 | description: Lookup table of customer purchase reasons. 19 | name: raw__adventure_works__sales_reasons 20 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_tax_rates.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Tax rate description. 5 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 6 | replication sample. 7 | sales_tax_rate_id: Primary key for SalesTaxRate records. 8 | state_province_id: State, province, or country/region the sales tax applies to. 9 | tax_rate: Tax rate amount. 10 | tax_type: 1 = Tax applied to retail transactions, 2 = Tax applied to wholesale transactions, 11 | 3 = Tax applied to all sales (retail and wholesale) transactions. 12 | columns: 13 | - name: sales_tax_rate_id 14 | type: bigint 15 | - name: state_province_id 16 | type: bigint 17 | - name: tax_type 18 | type: bigint 19 | - name: tax_rate 20 | type: double 21 | - name: name 22 | type: text 23 | - name: rowguid 24 | type: uniqueidentifier 25 | - name: modified_date 26 | type: date 27 | - name: _dlt_load_id 28 | type: text 29 | description: Tax rate lookup table. 30 | name: raw__adventure_works__sales_tax_rates 31 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_territories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | cost_last_year: Business costs in the territory the previous year. 4 | cost_ytd: Business costs in the territory year to date. 5 | country_region_code: ISO standard country or region code. Foreign key to CountryRegion.CountryRegionCode. 6 | group: Geographic area to which the sales territory belongs. 7 | modified_date: Date and time the record was last updated. 8 | name: Sales territory description. 9 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 10 | replication sample. 11 | sales_last_year: Sales in the territory the previous year. 12 | sales_ytd: Sales in the territory year to date. 13 | territory_id: Primary key for SalesTerritory records. 14 | columns: 15 | - name: territory_id 16 | type: bigint 17 | - name: name 18 | type: text 19 | - name: country_region_code 20 | type: text 21 | - name: group 22 | type: text 23 | - name: sales_ytd 24 | type: double 25 | - name: sales_last_year 26 | type: double 27 | - name: cost_ytd 28 | type: double 29 | - name: cost_last_year 30 | type: double 31 | - name: rowguid 32 | type: uniqueidentifier 33 | - name: modified_date 34 | type: date 35 | - name: _dlt_load_id 36 | type: text 37 | description: Sales territory lookup table. 38 | name: raw__adventure_works__sales_territories 39 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__sales_territory_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Primary key. The sales rep. Foreign key to SalesPerson.BusinessEntityID. 4 | end_date: Date the sales representative left work in the territory. 5 | modified_date: Date and time the record was last updated. 6 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 7 | replication sample. 8 | start_date: Primary key. Date the sales representative started work in the territory. 9 | territory_id: Primary key. Territory identification number. Foreign key to SalesTerritory.SalesTerritoryID. 10 | columns: 11 | - name: business_entity_id 12 | type: bigint 13 | - name: territory_id 14 | type: bigint 15 | - name: start_date 16 | type: date 17 | - name: rowguid 18 | type: uniqueidentifier 19 | - name: modified_date 20 | type: date 21 | - name: _dlt_load_id 22 | type: text 23 | - name: end_date 24 | type: date 25 | description: Sales representative transfers to other sales territories. 26 | name: raw__adventure_works__sales_territory_histories 27 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__scrap_reasons.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Failure description. 5 | scrap_reason_id: Primary key for ScrapReason records. 6 | columns: 7 | - name: scrap_reason_id 8 | type: bigint 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Manufacturing failure reasons lookup table. 16 | name: raw__adventure_works__scrap_reasons 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__shifts.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | end_time: Shift end time. ISO duration. 4 | modified_date: Date and time the record was last updated. 5 | name: Shift description. 6 | shift_id: Primary key for Shift records. 7 | start_time: Shift start time. ISO duration. 8 | columns: 9 | - name: shift_id 10 | type: bigint 11 | - name: name 12 | type: text 13 | - name: start_time 14 | type: text 15 | - name: end_time 16 | type: text 17 | - name: modified_date 18 | type: date 19 | - name: _dlt_load_id 20 | type: text 21 | description: Work shift lookup table. 22 | name: raw__adventure_works__shifts 23 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__ship_methods.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Shipping company name. 5 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 6 | replication sample. 7 | ship_base: Minimum shipping charge. 8 | ship_method_id: Primary key for ShipMethod records. 9 | ship_rate: Shipping charge per pound. 10 | columns: 11 | - name: ship_method_id 12 | type: bigint 13 | - name: name 14 | type: text 15 | - name: ship_base 16 | type: double 17 | - name: ship_rate 18 | type: double 19 | - name: rowguid 20 | type: uniqueidentifier 21 | - name: modified_date 22 | type: date 23 | - name: _dlt_load_id 24 | type: text 25 | description: Shipping company lookup table. 26 | name: raw__adventure_works__ship_methods 27 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__shopping_cart_items.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | date_created: Date the time the record was created. 4 | modified_date: Date and time the record was last updated. 5 | product_id: Product ordered. Foreign key to Product.ProductID. 6 | quantity: Product quantity ordered. 7 | shopping_cart_id: Shopping cart identification number. 8 | shopping_cart_item_id: Primary key for ShoppingCartItem records. 9 | columns: 10 | - name: shopping_cart_item_id 11 | type: bigint 12 | - name: shopping_cart_id 13 | type: text 14 | - name: quantity 15 | type: bigint 16 | - name: product_id 17 | type: bigint 18 | - name: date_created 19 | type: date 20 | - name: modified_date 21 | type: date 22 | - name: _dlt_load_id 23 | type: text 24 | description: Contains online customer orders until the order is submitted or cancelled. 25 | name: raw__adventure_works__shopping_cart_items 26 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__special_offers.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | category: Group the discount applies to such as Reseller or Customer. 4 | description: Discount description. 5 | discount_percentage: Discount percentage. 6 | end_date: Discount end date. 7 | maximum_quantity: Maximum discount percent allowed. 8 | minimum_quantity: Minimum discount percent allowed. 9 | modified_date: Date and time the record was last updated. 10 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 11 | replication sample. 12 | special_offer_id: Primary key for SpecialOffer records. 13 | start_date: Discount start date. 14 | type: Discount type category. 15 | columns: 16 | - name: special_offer_id 17 | type: bigint 18 | - name: description 19 | type: text 20 | - name: discount_percentage 21 | type: double 22 | - name: type 23 | type: text 24 | - name: category 25 | type: text 26 | - name: start_date 27 | type: date 28 | - name: end_date 29 | type: date 30 | - name: minimum_quantity 31 | type: bigint 32 | - name: rowguid 33 | type: uniqueidentifier 34 | - name: modified_date 35 | type: date 36 | - name: _dlt_load_id 37 | type: text 38 | - name: maximum_quantity 39 | type: bigint 40 | description: Sale discounts lookup table. 41 | name: raw__adventure_works__special_offers 42 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__state_provinces.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | country_region_code: ISO standard country or region code. Foreign key to CountryRegion.CountryRegionCode. 4 | is_only_state_province_flag: 0 = StateProvinceCode exists. 1 = StateProvinceCode 5 | unavailable, using CountryRegionCode. 6 | modified_date: Date and time the record was last updated. 7 | name: State or province description. 8 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 9 | replication sample. 10 | state_province_code: ISO standard state or province code. 11 | state_province_id: Primary key for StateProvince records. 12 | territory_id: ID of the territory in which the state or province is located. Foreign 13 | key to SalesTerritory.SalesTerritoryID. 14 | columns: 15 | - name: state_province_id 16 | type: bigint 17 | - name: state_province_code 18 | type: text 19 | - name: country_region_code 20 | type: text 21 | - name: is_only_state_province_flag 22 | type: bool 23 | - name: name 24 | type: text 25 | - name: territory_id 26 | type: bigint 27 | - name: rowguid 28 | type: uniqueidentifier 29 | - name: modified_date 30 | type: date 31 | - name: _dlt_load_id 32 | type: text 33 | description: State and province lookup table. 34 | name: raw__adventure_works__state_provinces 35 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__stores.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | business_entity_id: Primary key. Foreign key to Customer.BusinessEntityID. 4 | demographics: Demographic information about the store such as the number of employees, 5 | annual sales and store type. 6 | modified_date: Date and time the record was last updated. 7 | name: Name of the store. 8 | rowguid: ROWGUIDCOL number uniquely identifying the record. Used to support a merge 9 | replication sample. 10 | sales_person_id: ID of the sales person assigned to the customer. Foreign key to 11 | SalesPerson.BusinessEntityID. 12 | columns: 13 | - name: business_entity_id 14 | type: bigint 15 | - name: name 16 | type: text 17 | - name: sales_person_id 18 | type: bigint 19 | - name: demographics 20 | type: xml 21 | - name: rowguid 22 | type: uniqueidentifier 23 | - name: modified_date 24 | type: date 25 | - name: _dlt_load_id 26 | type: text 27 | description: Customers (resellers) of Adventure Works products. 28 | name: raw__adventure_works__stores 29 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__transaction_histories.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | actual_cost: Product cost. 4 | modified_date: Date and time the record was last updated. 5 | product_id: Product identification number. Foreign key to Product.ProductID. 6 | quantity: Product quantity. 7 | reference_order_id: Purchase order, sales order, or work order identification number. 8 | reference_order_line_id: Line number associated with the purchase order, sales order, 9 | or work order. 10 | transaction_date: Date and time of the transaction. 11 | transaction_id: Primary key for TransactionHistory records. 12 | transaction_type: W = WorkOrder, S = SalesOrder, P = PurchaseOrder. 13 | columns: 14 | - name: transaction_id 15 | type: bigint 16 | - name: product_id 17 | type: bigint 18 | - name: reference_order_id 19 | type: bigint 20 | - name: reference_order_line_id 21 | type: bigint 22 | - name: transaction_date 23 | type: date 24 | - name: transaction_type 25 | type: text 26 | - name: quantity 27 | type: bigint 28 | - name: actual_cost 29 | type: double 30 | - name: modified_date 31 | type: date 32 | - name: _dlt_load_id 33 | type: text 34 | description: Record of each purchase order, sales order, or work order transaction 35 | year to date. 36 | name: raw__adventure_works__transaction_histories 37 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__transaction_history_archives.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | actual_cost: Product cost. 4 | modified_date: Date and time the record was last updated. 5 | product_id: Product identification number. Foreign key to Product.ProductID. 6 | quantity: Product quantity. 7 | reference_order_id: Purchase order, sales order, or work order identification number. 8 | reference_order_line_id: Line number associated with the purchase order, sales order, 9 | or work order. 10 | transaction_date: Date and time of the transaction. 11 | transaction_id: Primary key for TransactionHistoryArchive records. 12 | transaction_type: W = Work Order, S = Sales Order, P = Purchase Order. 13 | columns: 14 | - name: transaction_id 15 | type: bigint 16 | - name: product_id 17 | type: bigint 18 | - name: reference_order_id 19 | type: bigint 20 | - name: reference_order_line_id 21 | type: bigint 22 | - name: transaction_date 23 | type: date 24 | - name: transaction_type 25 | type: text 26 | - name: quantity 27 | type: bigint 28 | - name: actual_cost 29 | type: double 30 | - name: modified_date 31 | type: date 32 | - name: _dlt_load_id 33 | type: text 34 | description: Transactions for previous years. 35 | name: raw__adventure_works__transaction_history_archives 36 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__unit_measures.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | modified_date: Date and time the record was last updated. 4 | name: Unit of measure description. 5 | unit_measure_code: Primary key. 6 | columns: 7 | - name: unit_measure_code 8 | type: text 9 | - name: name 10 | type: text 11 | - name: modified_date 12 | type: date 13 | - name: _dlt_load_id 14 | type: text 15 | description: Unit of measure lookup table. 16 | name: raw__adventure_works__unit_measures 17 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__vendors.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | account_number: Vendor account (identification) number. 4 | active_flag: 0 = Vendor no longer used. 1 = Vendor is actively used. 5 | business_entity_id: Primary key for Vendor records. Foreign key to BusinessEntity.BusinessEntityID. 6 | credit_rating: 1 = Superior, 2 = Excellent, 3 = Above average, 4 = Average, 5 = 7 | Below average. 8 | modified_date: Date and time the record was last updated. 9 | name: Company name. 10 | preferred_vendor_status: 0 = Do not use if another vendor is available. 1 = Preferred 11 | over other vendors supplying the same product. 12 | purchasing_web_service_url: Vendor URL. 13 | columns: 14 | - name: business_entity_id 15 | type: bigint 16 | - name: account_number 17 | type: text 18 | - name: name 19 | type: text 20 | - name: credit_rating 21 | type: bigint 22 | - name: preferred_vendor_status 23 | type: bool 24 | - name: active_flag 25 | type: bool 26 | - name: modified_date 27 | type: date 28 | - name: _dlt_load_id 29 | type: text 30 | - name: purchasing_web_service_url 31 | type: text 32 | description: Companies from whom Adventure Works Cycles purchases parts or other goods. 33 | name: raw__adventure_works__vendors 34 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__work_order_routings.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | actual_cost: Actual manufacturing cost. 4 | actual_end_date: Actual end date. 5 | actual_resource_hrs: Number of manufacturing hours used. 6 | actual_start_date: Actual start date. 7 | location_id: Manufacturing location where the part is processed. Foreign key to 8 | Location.LocationID. 9 | modified_date: Date and time the record was last updated. 10 | operation_sequence: Primary key. Indicates the manufacturing process sequence. 11 | planned_cost: Estimated manufacturing cost. 12 | product_id: Primary key. Foreign key to Product.ProductID. 13 | scheduled_end_date: Planned manufacturing end date. 14 | scheduled_start_date: Planned manufacturing start date. 15 | work_order_id: Primary key. Foreign key to WorkOrder.WorkOrderID. 16 | columns: 17 | - name: work_order_id 18 | type: bigint 19 | - name: product_id 20 | type: bigint 21 | - name: operation_sequence 22 | type: bigint 23 | - name: location_id 24 | type: bigint 25 | - name: scheduled_start_date 26 | type: date 27 | - name: scheduled_end_date 28 | type: date 29 | - name: actual_start_date 30 | type: date 31 | - name: actual_end_date 32 | type: date 33 | - name: actual_resource_hrs 34 | type: double 35 | - name: planned_cost 36 | type: double 37 | - name: actual_cost 38 | type: double 39 | - name: modified_date 40 | type: date 41 | - name: _dlt_load_id 42 | type: text 43 | description: Work order details. 44 | name: raw__adventure_works__work_order_routings 45 | -------------------------------------------------------------------------------- /models/blueprints/raw/raw__adventure_works__work_orders.yml: -------------------------------------------------------------------------------- 1 | column_descriptions: 2 | _dlt_load_id: Internal data loading identifier. 3 | due_date: Work order due date. 4 | end_date: Work order end date. 5 | modified_date: Date and time the record was last updated. 6 | order_qty: Product quantity to build. 7 | product_id: Product identification number. Foreign key to Product.ProductID. 8 | scrap_reason_id: Reason for inspection failure. 9 | scrapped_qty: Quantity that failed inspection. 10 | start_date: Work order start date. 11 | stocked_qty: Quantity built and put in inventory. 12 | work_order_id: Primary key for WorkOrder records. 13 | columns: 14 | - name: work_order_id 15 | type: bigint 16 | - name: product_id 17 | type: bigint 18 | - name: order_qty 19 | type: bigint 20 | - name: stocked_qty 21 | type: bigint 22 | - name: scrapped_qty 23 | type: bigint 24 | - name: start_date 25 | type: date 26 | - name: end_date 27 | type: date 28 | - name: due_date 29 | type: date 30 | - name: modified_date 31 | type: date 32 | - name: _dlt_load_id 33 | type: text 34 | - name: scrap_reason_id 35 | type: bigint 36 | description: Manufacturing work orders. 37 | name: raw__adventure_works__work_orders 38 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "serverless-lakehouse" 3 | version = "0.1.0" 4 | description = "" 5 | readme = "README.md" 6 | requires-python = ">=3.9,<3.13" 7 | dependencies = [ 8 | "beautifulsoup4>=4.12.3", 9 | "deltalake>=0.24.0", 10 | "dlt[deltalake,duckdb,filesystem,pyiceberg]>=1.5.0", 11 | "duckdb>=1.2.0", 12 | "enlighten>=1.13.0", 13 | "matplotlib>=3.9.4", 14 | "networkx>=3.2.1", 15 | "plotly>=6.0.0", 16 | "polars>=1.21.0", 17 | "pyarrow>=17.0.0", 18 | "sqlmesh[github,web]>=0.162.2", 19 | "streamlit>=1.42.1", 20 | "streamlit-extras>=0.5.5", 21 | "watchdog>=6.0.0", 22 | "taskipy>=1.14.1" 23 | ] 24 | 25 | [tool.taskipy.tasks] 26 | adventure-works = "python ./pipelines/adventure_works.py prod" 27 | sqlmesh-run = "sqlmesh run prod" 28 | sqlmesh-plan = "sqlmesh plan prod" 29 | duckdb-to-iceberg = "python ./pipelines/duckdb_to_iceberg.py" 30 | dashboard = "streamlit run ./streamlit/dashboard.py" 31 | init = { cmd = "task adventure-works && task sqlmesh-plan && task duckdb-to-iceberg && task dashboard" } 32 | elt = { cmd = "task adventure-works && task sqlmesh-run && task duckdb-to-iceberg && task dashboard" } -------------------------------------------------------------------------------- /queries/explode_date_range.sql: -------------------------------------------------------------------------------- 1 | SELECT 2 | _pit_hook__sales_order, 3 | UNNEST(GENERATE_SERIES(sales_order__ship_date, sales_order__due_date, INTERVAL 1 DAY))::DATE AS event_date 4 | FROM silver.frame__adventure_works__sales_order_headers 5 | WHERE _pit_hook__sales_order = 'sales_order|adventure_works|75107~epoch|valid_from|1970-01-01 00:00:00+01' 6 | ; -------------------------------------------------------------------------------- /queries/shipping_kpis.sql: -------------------------------------------------------------------------------- 1 | SELECT 2 | calendar.date, 3 | SUM(_bridge__as_of_event.measure__sales_order_placed) AS metric__sales_orders_placed, 4 | AVG(_bridge__as_of_event.measure__sales_order_due_lead_time) AS metric__avg_sales_order_due_lead_time, 5 | AVG(_bridge__as_of_event.measure__sales_order_shipping_lead_time) AS metric__avg_sales_order_shipping_lead_time, 6 | SUM(_bridge__as_of_event.measure__sales_order_due) AS metric__sales_orders_due, 7 | SUM(_bridge__as_of_event.measure__sales_order_shipped_on_time) AS metric__sales_orders_shipped_on_time, 8 | SUM(_bridge__as_of_event.measure__sales_order_shipped) AS metric__sales_orders_shipped, 9 | 10 | QUANTILE_CONT(metric__sales_orders_shipped, 0.90) OVER () AS metric__shipping_capacity, 11 | QUANTILE_CONT(metric__avg_sales_order_shipping_lead_time, 0.90) OVER () AS metric__shipping_lead_time_capacity, 12 | 13 | metric__sales_orders_due / metric__shipping_capacity AS kpi__shipping_load_ratio, 14 | metric__avg_sales_order_due_lead_time / metric__shipping_lead_time_capacity AS kpi__shipping_lead_time_load_ratio, 15 | metric__sales_orders_shipped_on_time / metric__sales_orders_due AS kpi__on_time_shipping 16 | 17 | FROM gold._bridge__as_of_event 18 | LEFT JOIN gold.calendar USING (_hook__calendar__date) 19 | GROUP BY calendar.date 20 | ; -------------------------------------------------------------------------------- /queries/total_rows.py: -------------------------------------------------------------------------------- 1 | import duckdb 2 | 3 | conn = duckdb.connect('./lakehouse/db.duckdb') 4 | conn.execute("SET unsafe_enable_version_guessing = true;") 5 | 6 | schemas = ["das", "dab", "dar__staging", "dar"] 7 | 8 | for schema in schemas: 9 | tables_query = f"SELECT table_name FROM information_schema.tables WHERE table_schema = '{schema}'" 10 | tables = conn.execute(tables_query).fetchall() 11 | 12 | total_rows = 0 13 | for table in tables: 14 | table_name = table[0] 15 | row_count = conn.execute(f"SELECT COUNT(*) FROM {schema}.{table_name}").fetchone()[0] 16 | total_rows += row_count 17 | 18 | result = total_rows 19 | 20 | print(f"Total number of rows in schema '{schema}': {result}") 21 | 22 | # Close the connection 23 | conn.close() -------------------------------------------------------------------------------- /seeds/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattiasthalen/adventure-works/55f8b6b3c8bf7d44106da12b7469c0f4b0eb5f10/seeds/.gitkeep -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattiasthalen/adventure-works/55f8b6b3c8bf7d44106da12b7469c0f4b0eb5f10/tests/.gitkeep --------------------------------------------------------------------------------