DataJunction as Netflix’s answer to the missing piece of the modern data stack

Netflix Technology Blog · Oct 14, 2026

AI summary AI-generated, may contain mistakes

Netflix adopted DataJunction (DJ), an open-source semantic layer with a robust SQL parsing and generation engine, to solve the problem of scattered, hard-to-author metric definitions in its experimentation platform, where onboarding a single metric previously took weeks. DJ stores all metric and dimension definitions in a connected graph, exposes them through a rich API-first architecture with cubes as a key serving interface, and enables easy integration with tools like Netflix's Druid-based Data Explorer and Superset. Having succeeded in supporting experimentation, Netflix now aims to extend DJ to unify general analytics across the company, making metrics easier to find, access, and modify across its data stack.

by Olek Gorajek, Samuel Redai, Yian Shang

Intro

Our Netflix journey from data to dashboards, particularly within the space of the experimentation platform, always presented a unique set of challenges. This blog post aims to illuminate these hurdles and explain how an innovative open-source metric platform became instrumental in overcoming some of them. We’ll showcase the critical role that DataJunction played in streamlining our data workflows and enhancing our ability to derive meaningful insights from our vast datasets.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

More from Netflix TechBlog

How Netflix Turns Low-Fidelity Media into Production-Grade HDR with GlowNet

AI summaryNetflix's GlowNet is an image and video enhancement model that converts low-fidelity, display-referred SDR media into high-fidelity, scene-referred ACES2065-1 data by cleaning compression artifacts, increasing bit depth from 8-bit to 16-bit, expanding dynamic range and color gamut, and upscaling to 4K within a single workflow. The model decomposes enhancement into three cooperating modules—a structure engine, scene engine, and color engine—and, according to the company, is the first video model to produce production-grade, scene-referred HDR. Evaluated in a blind study with professional colorists and now in a production pilot, GlowNet was found easier to grade than competing methods, with color depth and dynamic range proving more important than resolution for real production work.

Engineering AI Discover

AI summaryThe article explains AI Discover, a new Netflix TV app tab that lets members steer content discovery through themes, powered by a new intelligence layer—an agent harness that combines LLMs with Netflix's existing recommendation systems. The team addressed seven core challenges (grounding picks in the real catalog, slow and unpredictable LLMs, TV hardware constraints, safety at scale) through key decisions including a controller-executor architecture with validated plan-and-execute graphs, model-agnostic capabilities, asynchronous page generation, and safety rules enforced in code rather than prompts. This governed design enables adaptive, generative experiences while preserving the speed, reliability and safety Netflix members expect.

Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System

AI summaryThis article describes how Netflix built an automated factuality system to verify that title synopses are accurate at scale, addressing the limitations of a previous pipeline that required five expensive long-context reasoning model calls and produced rationales misaligned with human annotators. The new cascade approach introduces specialized literal and implicature judges, confidence-gated escalation of only uncertain cases, and secondary atomic-claim rechecking via a router for shaky reasoning points. The resulting system cuts cost per synopsis by 52.4%, improves Recall-Fail from 0.77 to 0.86, and increases overlap with human rationales from ~69% to ~82%.

Making Failure Diagnosis Reliable with Pensive AI

AI summaryNetflix's data platform handles millions of daily workloads, with roughly 100,000 failures on peak days, prompting the evolution of Pensive—a rule-based failure diagnosis system that covered only about half of failures—into Pensive AI, which wraps LLM capabilities around deterministic processes. Pensive AI provides always-on, line-number-based error extraction that now covers 100% of failures within Maestro's 90-second timeout, plus on-demand debugging that streams cached, consistent root-cause analyses and remediation suggestions per failed step attempt. The team ensured reliability through careful data model migration, deadline-bound parallel extraction, caching, and dedicated evaluation frameworks that use legacy rules as ground truth, with early results showing significantly less manual log exploration when Pensive AI is used.

Multi‑Ratio Video Resizing for Mobile Feed and Marketing

AI summaryNetflix developed an automated multi-ratio video resizing system that converts horizontal cinematic footage into vertical and other aspect ratios (9:16, 4:5, 1:1) for its mobile Clips feed and marketing campaigns. The pipeline operates in three stages—shot detection and splitting using neural shot boundary and active speaker detection, focus region discovery combining face detection with saliency maps, and temporal reframing that applies smoothing heuristics to produce stable, intentional-looking crops. Integrated into internal production tools with manual refinement controls and XML export to editors like Adobe Premiere, the system outperformed Premiere's Auto Reframe in internal tests while significantly reducing production time and preserving creative control.