Retail and consumer · Industry lens

Open source data architecture for Retail and e-commerce

Retailers and online stores bring point-of-sale, clickstream, inventory, supply chain and loyalty data together for demand forecasting, replenishment, personalization and fraud.

Interactive

Retail and e-commerce on the open lakehouse

The board opens on the architecture most of these use cases need. Switch architectures to see the others; the retail and e-commerce sources stay in place.

Sources

Point-of-sale systems

Streaming baskets, end-of-day batch

Web and app clickstream

Streaming events

Inventory and warehouse management

CDC

Supplier EDI

Batch X12 or EDIFACT documents

Ingestion

Open lakehouse platform

Engine access

Execution

Data foundation

Serving

Teams

Lit boxes are part of this architecture, with the versions its reference repo pins. Switch to Full platform to see every capability. Select any box or team for details. marks a swappable choice.

Retail and e-commerce use cases (highlighted ones run on this architecture)

  • Demand forecasting

    Train store-by-SKU forecasts and track which model version produced each order.

    ML and GenAI lifecycle on the lakehouse
  • Real-time inventory

    Keep stock positions current from POS and warehouse events so online orders do not oversell.

  • Supplier collaboration

    Share sell-through and stock tables with suppliers instead of sending reports.

    Open data sharing
  • One definition of margin

    Define revenue, margin and sell-through once for BI, notebooks and agents.

    Semantic layer with Spark metric views
  • In-session recommendations

    Update product recommendations while the shopper is still browsing.

    Real-time streaming with Spark Real-Time Mode
  • Clickstream to sessions

    Sessionize web and app events with watermarks and land them as tables for funnel analysis.

Use cases

Retail and e-commerce use cases and the architecture for each

Demand forecasting

Train store-by-SKU forecasts and track which model version produced each order.

ML and GenAI lifecycle on the lakehouse

Real-time inventory

Keep stock positions current from POS and warehouse events so online orders do not oversell.

Streaming medallion

Supplier collaboration

Share sell-through and stock tables with suppliers instead of sending reports.

Open data sharing

One definition of margin

Define revenue, margin and sell-through once for BI, notebooks and agents.

Semantic layer with Spark metric views

In-session recommendations

Update product recommendations while the shopper is still browsing.

Real-time streaming with Spark Real-Time Mode

Clickstream to sessions

Sessionize web and app events with watermarks and land them as tables for funnel analysis.

Streaming medallion

Source systems

SystemHow data arrives
Point-of-sale systemsStreaming baskets, end-of-day batch
Web and app clickstreamStreaming events
Inventory and warehouse managementCDC
Supplier EDIBatch X12 or EDIFACT documents
Loyalty and CRMBatch

Data formats and standards

FormatStandards bodyCarries
GS1 EPCIS GS1Supply chain visibility events
GTIN GS1Global trade item numbers that key the product master
ANSI X12 (850, 856, 810) X12Purchase orders, ship notices and invoices
UN/EDIFACT UNECEInternational EDI messages
CloudEvents CNCFCommon envelope for clickstream and order events

Bronze, silver and gold in retail and e-commerce terms

Bronze

Raw baskets, EDI documents and stock snapshots

Silver

Sales, inventory and orders keyed by GTIN and store

Gold

Forecasts, replenishment orders and customer segments

Answers

Frequently asked questions

What is an open source data architecture for retail and e-commerce?
Retailers and online stores bring point-of-sale, clickstream, inventory, supply chain and loyalty data together for demand forecasting, replenishment, personalization and fraud. The open architectures that fit its main use cases are ML and GenAI lifecycle on the lakehouse, Streaming medallion, Open data sharing, Semantic layer with Spark metric views, Real-time streaming with Spark Real-Time Mode.
Which data formats matter for retail and e-commerce data engineering?
GS1 EPCIS (GS1): Supply chain visibility events; GTIN (GS1): Global trade item numbers that key the product master; ANSI X12 (850, 856, 810) (X12): Purchase orders, ship notices and invoices; UN/EDIFACT (UNECE): International EDI messages; CloudEvents (CNCF): Common envelope for clickstream and order events.
What goes in the bronze, silver and gold layers for retail and e-commerce?
Bronze: Raw baskets, EDI documents and stock snapshots. Silver: Sales, inventory and orders keyed by GTIN and store. Gold: Forecasts, replenishment orders and customer segments.