How rianmaia/dataengineeringparfum works
Rota Perfume is a Databricks lakehouse for governed commercial analytics and weekly B2B sales prioritization. ERP/CRM files are checked and ingested, cleaned into Silver, modeled into Gold, and used to build customer features, propensity scores, and an actionable sales queue; dashboards and Genie expose business insights. The README documents the job DAG and product capabilities, while sampled code confirms raw checks, Bronze ingestion, feature inputs, and model outputs. Silver/Gold transformations, queue logic, and consumption wiring are represented from README documentation, not inspected source excerpts.
Main entry points: 07-marts.sql Business marts · 11-features.py Customer features · 06-fato-vendas.sql Sales fact · 12-modelo.py Propensity model
Components 16
Data intake
- Raw validation
dataengineering_parfum/src/raw/conferencia.py - Bronze ingestion
dataengineering_parfum/src/bronze/ingestao.py
Lakehouse modeling
- Silver cleansing
dataengineering_parfum/src/silver - Gold dimensions
dataengineering_parfum/src/gold/05-dimensoes.sql - Sales fact
dataengineering_parfum/src/gold/06-fato-vendas.sql - Business marts
dataengineering_parfum/src/gold/07-marts.sql - Gold quality checks
dataengineering_parfum/src/gold/08-testes.sql - Business metrics
dataengineering_parfum/src/gold/09-metricas-negocio.sql - Metadata audit
dataengineering_parfum/src/gold/10-auditoria-metadado.sql
Commercial intelligence
- Customer features
dataengineering_parfum/src/ml/11-features.py - Propensity model
dataengineering_parfum/src/ml/12-modelo.py - Sales queue
dataengineering_parfum/src/ml/13-fila.sql
Business consumption
- Commercial dashboard
dataengineering_parfum/resources/dashboard-comercial.lvdash.json - Genie analytics
dataengineering_parfum/resources/comercial.geniespace.json
Other components
- ERP and CRM files
dados - Sales team
Connections 17
- ERP and CRM files → Raw validation: arrive for checks
README.md - Raw validation → Bronze ingestion: validates before ingest
README.md - Bronze ingestion → Silver cleansing: feeds transformations
README.md - Silver cleansing → Gold dimensions: builds dimensions
README.md - Gold dimensions → Sales fact: supports fact build
README.md - Sales fact → Business marts: feeds marts
README.md - Business marts → Business metrics: feeds metrics
README.md - Business metrics → Metadata audit: feeds audit
README.md - Business marts → Gold quality checks: validates marts
README.md - Gold quality checks → Customer features: enables feature job
README.md - Sales fact → Customer features: reads sales history
dataengineering_parfum/src/ml/11-features.py - Customer features → Propensity model: trains and scores
README.md - Customer features → Propensity model: reads feature tables
dataengineering_parfum/src/ml/12-modelo.py - Propensity model → Sales queue: feeds prioritization
README.md - Sales queue → Sales team: delivers weekly actions
README.md - Business marts → Commercial dashboard: supports analytics
README.md - Business marts → Genie analytics: supports questions
README.md