# kego-mashigo/retail-store-etl-pipeline architecture

> Architecture diagram of the GitHub repository kego-mashigo/retail-store-etl-pipeline, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kego-mashigo/retail-store-etl-pipeline
- Repository: https://github.com/kego-mashigo/retail-store-etl-pipeline

## Overview

This repository is a retail-sales ETL pipeline described as using a Bronze–Silver–Gold medallion architecture. Its apparent workflow begins with CSV sales files, runs through an SSIS package, and targets staging and data-warehouse SQL structures. The tree identifies source datasets and schema/table scripts, but no source excerpts or detailed README documentation show package control flow or transformations; dashed links therefore indicate inferred, unverified relationships.

Main entry points: [`Furncity_Pipeline/Furncity_Pipeline.dtsx`](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/Furncity_Pipeline/Furncity_Pipeline.dtsx) (SSIS Pipeline), [`001.1_Create_Schema_Bronze.sql`](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001.1_Create_Schema_Bronze.sql) (Bronze Schema), [`002.1_Create_Schema_Silver_Gold.sql`](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002.1_Create_Schema_Silver_Gold.sql) (Silver and Gold Schemas), [`001.2_CreateTb_Bronze.Rawdata.sql`](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001.2_CreateTb_Bronze.Rawdata.sql) (Rawdata Table)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Sales Inputs"]
  node_sales_csv["Sales CSV Files"]
end

subgraph group_etl["ETL Pipeline"]
  node_ssis["SSIS Pipeline"]
end

subgraph group_bronze["Bronze Staging"]
  node_stg_db[("Staging Database")]
  node_bronze_schema["Bronze Schema"]
  node_rawdata_table[("Rawdata Table")]
end

subgraph group_warehouse["Silver and Gold"]
  node_dwh_db[("Warehouse Database")]
  node_silver_gold_schema["Silver and Gold Schemas"]
  node_sales_table[("Silver Sales Table")]
end

node_sales_csv -.->|"provides input"| node_ssis
node_ssis -.->|"loads data"| node_rawdata_table
node_stg_db -.->|"hosts"| node_bronze_schema
node_bronze_schema -.->|"defines"| node_rawdata_table
node_ssis -.->|"loads data"| node_sales_table
node_dwh_db -.->|"hosts"| node_silver_gold_schema
node_silver_gold_schema -.->|"defines"| node_sales_table

click node_sales_csv "https://github.com/kego-mashigo/retail-store-etl-pipeline/tree/main/SourceFiles"
click node_ssis "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/Furncity_Pipeline/Furncity_Pipeline.dtsx"
click node_stg_db "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001_CreateDb_Furncity_stg.sql"
click node_bronze_schema "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001.1_Create_Schema_Bronze.sql"
click node_rawdata_table "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001.2_CreateTb_Bronze.Rawdata.sql"
click node_dwh_db "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002_CreateDb_Furncity_dwh.sql"
click node_silver_gold_schema "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002.1_Create_Schema_Silver_Gold.sql"
click node_sales_table "https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002.2_CreateTb_Silver.sales.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_sales_csv toneBlue
class node_ssis toneAmber
class node_stg_db,node_bronze_schema,node_rawdata_table toneMint
class node_dwh_db,node_silver_gold_schema,node_sales_table toneRose
```

## Components

### Sales Inputs

- [Sales CSV Files](https://github.com/kego-mashigo/retail-store-etl-pipeline/tree/main/SourceFiles): `SourceFiles`

### ETL Pipeline

- [SSIS Pipeline](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/Furncity_Pipeline/Furncity_Pipeline.dtsx): `Furncity_Pipeline/Furncity_Pipeline.dtsx`

### Bronze Staging

- [Staging Database](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001_CreateDb_Furncity_stg.sql): `001_CreateDb_Furncity_stg.sql`
- [Bronze Schema](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001.1_Create_Schema_Bronze.sql): `001.1_Create_Schema_Bronze.sql`
- [Rawdata Table](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/001.2_CreateTb_Bronze.Rawdata.sql): `001.2_CreateTb_Bronze.Rawdata.sql`

### Silver and Gold

- [Warehouse Database](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002_CreateDb_Furncity_dwh.sql): `002_CreateDb_Furncity_dwh.sql`
- [Silver and Gold Schemas](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002.1_Create_Schema_Silver_Gold.sql): `002.1_Create_Schema_Silver_Gold.sql`
- [Silver Sales Table](https://github.com/kego-mashigo/retail-store-etl-pipeline/blob/main/002.2_CreateTb_Silver.sales.sql): `002.2_CreateTb_Silver.sales.sql`

## Connections

- Sales CSV Files → SSIS Pipeline: provides input
- SSIS Pipeline → Rawdata Table: loads data
- Staging Database → Bronze Schema: hosts
- Bronze Schema → Rawdata Table: defines
- SSIS Pipeline → Silver Sales Table: loads data
- Warehouse Database → Silver and Gold Schemas: hosts
- Silver and Gold Schemas → Silver Sales Table: defines
